|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BidirectionalTransformer
Provides methods to map points from one coordinate system to another: graph to screen and screen to graph.
Method Summary | |
---|---|
Point2D |
inverseTransform(Point2D p)
convert the supplied screen coordinate to the graph coordinate. |
Shape |
inverseTransform(Shape shape)
|
Point2D |
transform(Point2D p)
convert the supplied graph coordinate to the screen coordinate |
Shape |
transform(Shape shape)
|
Method Detail |
---|
Point2D transform(Point2D p)
p
- graph point to convert
Point2D inverseTransform(Point2D p)
p
- screen point to convert
Shape transform(Shape shape)
shape
-
Shape inverseTransform(Shape shape)
shape
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |