Interface ShapeTransformer
-
- All Superinterfaces:
BidirectionalTransformer
- All Known Subinterfaces:
MultiLayerTransformer
,MutableTransformer
,ShapeFlatnessTransformer
- All Known Implementing Classes:
AffineTransformer
,BasicTransformer
,HyperbolicShapeTransformer
,HyperbolicTransformer
,LensTransformer
,MagnifyShapeTransformer
,MagnifyTransformer
,MutableAffineTransformer
,MutableTransformerDecorator
public interface ShapeTransformer extends BidirectionalTransformer
Provides methods to map points from one coordinate system to another: graph to screen and screen to graph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.awt.Shape
inverseTransform(java.awt.Shape shape)
java.awt.Shape
transform(java.awt.Shape shape)
map a shape from graph coordinate system to the screen coordinate system-
Methods inherited from interface edu.uci.ics.jung.visualization.transform.BidirectionalTransformer
inverseTransform, transform
-
-
-
-
Method Detail
-
transform
java.awt.Shape transform(java.awt.Shape shape)
map a shape from graph coordinate system to the screen coordinate system- Parameters:
shape
- the Shape to transform- Returns:
- a GeneralPath (Shape) representing the screen points of the shape
-
inverseTransform
java.awt.Shape inverseTransform(java.awt.Shape shape)
-
-