Interface ShapeFlatnessTransformer
- All Superinterfaces:
BidirectionalTransformer
,ShapeTransformer
- All Known Implementing Classes:
HyperbolicShapeTransformer
,MagnifyShapeTransformer
Provides methods to map points from one coordinate system to
another: graph to screen and screen to graph.
The flatness parameter is used to break a curved shape into
smaller segments in order to perform a more detailed
transformation.
-
Method Summary
Methods inherited from interface edu.uci.ics.jung.visualization.transform.BidirectionalTransformer
inverseTransform, transform
Methods inherited from interface edu.uci.ics.jung.visualization.transform.shape.ShapeTransformer
inverseTransform, transform
-
Method Details
-
transform
map a shape from graph coordinate system to the screen coordinate system- Parameters:
shape
- the shape to be transformedflatness
- used to break the supplied shape into segments- Returns:
- a GeneralPath (Shape) representing the screen points of the shape
-