Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## samples.preview_new_graphdraw.transform
Class FitOnScreenTransformer.ScaleAndTranslate

    java.lang.Object
      samples.preview_new_graphdraw.transform.FitOnScreenTransformer.ScaleAndTranslate

Enclosing class:
  FitOnScreenTransformer

public class FitOnScreenTransformer.ScaleAndTranslate
extends Object

created Feb 5, 2004

Author:
  danyelf

Constructor Summary
`FitOnScreenTransformer.ScaleAndTranslate(double minX, double minY, double maxX, double maxY, int xSpace, int ySpace)`

Method Summary
`void` | `invert(Coordinates vv)`
`void` | `relocate(VisVertex vv2)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FitOnScreenTransformer.ScaleAndTranslate

    public FitOnScreenTransformer.ScaleAndTranslate(double minX,
                                                    double minY,
                                                    double maxX,
                                                    double maxY,
                                                    int xSpace,
                                                    int ySpace)

Parameters:
  `minX` -
  `minY` -
  `maxX` -
  `maxY` -

Method Detail

### relocate

    public void relocate(VisVertex vv2)

  Parameters:
    `vv2` -

### invert

    public void invert(Coordinates vv)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD