edu.uci.ics.jung.visualization.transform.shape
Interface ShapeTransformer
- All Superinterfaces:
- Transformer
- All Known Subinterfaces:
- MutableTransformer
- All Known Implementing Classes:
- AffineTransformer, HyperbolicShapeTransformer, HyperbolicTransformer, LensTransformer, MagnifyShapeTransformer, MagnifyTransformer, MutableAffineTransformer, MutableTransformerDecorator
public interface ShapeTransformer
- extends Transformer
Provides methods to map points from one coordinate system to
another: graph to screen and screen to graph.
- Author:
- Tom Nelson - RABA Technologies
transform
Shape transform(Shape shape)
- map a shape from graph coordinate system to the
screen coordinate system
- Parameters:
shape
-
- Returns:
- a GeneralPath (Shape) representing the screen points of the shape
inverseTransform
Shape inverseTransform(Shape shape)