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

Method Summary
 Shape inverseTransform(Shape shape)
           
 Shape transform(Shape shape)
          map a shape from graph coordinate system to the screen coordinate system
 
Methods inherited from interface edu.uci.ics.jung.visualization.transform.Transformer
inverseTransform, transform
 

Method Detail

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)