edu.uci.ics.jung.visualization.transform.shape
Interface ShapeTransformer

All Superinterfaces:
BidirectionalTransformer
All Known Subinterfaces:
MultiLayerTransformer, MutableTransformer, ShapeFlatnessTransformer
All Known Implementing Classes:
AffineTransformer, BasicTransformer, HyperbolicShapeTransformer, HyperbolicTransformer, LensTransformer, MagnifyShapeTransformer, MagnifyTransformer, MutableAffineTransformer, MutableTransformerDecorator, PerspectiveShapeTransformer, PerspectiveTransformer

public interface ShapeTransformer
extends BidirectionalTransformer

Provides methods to map points from one coordinate system to another: graph to screen and screen to graph.

Author:
Tom Nelson

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.BidirectionalTransformer
inverseTransform, transform
 

Method Detail

transform

Shape transform(Shape shape)
map a shape from graph coordinate system to the screen coordinate system

Specified by:
transform in interface BidirectionalTransformer
Parameters:
shape -
Returns:
a GeneralPath (Shape) representing the screen points of the shape

inverseTransform

Shape inverseTransform(Shape shape)
Specified by:
inverseTransform in interface BidirectionalTransformer
Returns:


Copyright © 2009. All Rights Reserved.