lt.monarch.chart.chart2D.engine
Interface Shape2D.ProjectableShape

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Shape2D.Elipse, Shape2D.Line, Shape2D.Polygon, Shape2D.Rectangle
Enclosing class:
Shape2D

protected static interface Shape2D.ProjectableShape
extends java.io.Serializable


Method Summary
Modifier and Type Method and Description
 java.awt.Shape getShape()
          Returns the swing Shape
 java.awt.Shape getShapeRef()
          Returns the swing Shape reference
 void project(Projector projector)
          Projects all the points of the shape
 void transform(Transformation tf, double anchorX, double anchorY)
          Transforms all the points of the shape
 

Method Detail

project

void project(Projector projector)
Projects all the points of the shape

Parameters:
projector - projector

transform

void transform(Transformation tf,
               double anchorX,
               double anchorY)
Transforms all the points of the shape

Parameters:
tf - transformation matrix
anchorX - x anchor point for transformation
anchorY - y anchor point for transformation

getShape

java.awt.Shape getShape()
Returns the swing Shape

Returns:
Java Swing Shape

getShapeRef

java.awt.Shape getShapeRef()
Returns the swing Shape reference

Returns:
Java Swing Shape