com.touchgraph.graphlayout
public class TGLensSet extends Object
Constructor and Description |
---|
TGLensSet() |
Modifier and Type | Method and Description |
---|---|
void |
addLens(TGAbstractLens l) |
void |
applyLens(TGPoint2D p) |
TGPoint2D |
convDrawToReal(double x,
double y)
Convert real position to draw position.
|
TGPoint2D |
convDrawToReal(TGPoint2D p)
Convert real position to draw position.
|
TGPoint2D |
convRealToDraw(double x,
double y)
Convert draw position to real position.
|
TGPoint2D |
convRealToDraw(TGPoint2D p)
Convert draw position to real position.
|
void |
undoLens(TGPoint2D p) |
public void addLens(TGAbstractLens l)
public void applyLens(TGPoint2D p)
public void undoLens(TGPoint2D p)
public TGPoint2D convRealToDraw(double x, double y)
public TGPoint2D convDrawToReal(double x, double y)