edu.uci.ics.jung.visualization.transform.shape
Interface ShapeFlatnessTransformer
- All Superinterfaces: 
 - BidirectionalTransformer, ShapeTransformer
 
- All Known Implementing Classes: 
 - HyperbolicShapeTransformer, MagnifyShapeTransformer
 
public interface ShapeFlatnessTransformer
- extends ShapeTransformer
 
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.
- Author:
 
  - Tom Nelson
 
| 
Method Summary | 
 Shape | 
transform(Shape shape,
          float flatness)
 
          map a shape from graph coordinate system to the
 screen coordinate system | 
 
 
 
transform
Shape transform(Shape shape,
                float flatness)
- map a shape from graph coordinate system to the
 screen coordinate system
 
- Parameters:
 shape - flatness - used to break the supplied shape into segments
- Returns:
 - a GeneralPath (Shape) representing the screen points of the shape
 
 
 
Copyright © 2010 null. All Rights Reserved.