pivot.wtk.media.drawing
Class Shape.Rotate

java.lang.Object
  extended by pivot.wtk.media.drawing.Shape.Transform
      extended by pivot.wtk.media.drawing.Shape.Rotate
Enclosing class:
Shape

public static final class Shape.Rotate
extends Shape.Transform

Represents a rotation transformation.

Author:
gbrown

Constructor Summary
Shape.Rotate()
           
Shape.Rotate(double angle, double anchorX, double anchorY)
           
 
Method Summary
 AffineTransform getAffineTransform()
           
 double getAnchorX()
           
 double getAnchorY()
           
 double getAngle()
           
 void setAnchor(double anchorX, double anchorY)
           
 void setAnchorX(double anchorX)
           
 void setAnchorY(double anchorY)
           
 void setAngle(double angle)
           
 
Methods inherited from class pivot.wtk.media.drawing.Shape.Transform
getShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shape.Rotate

public Shape.Rotate()

Shape.Rotate

public Shape.Rotate(double angle,
                    double anchorX,
                    double anchorY)
Method Detail

getAngle

public double getAngle()

setAngle

public void setAngle(double angle)

getAnchorX

public double getAnchorX()

setAnchorX

public void setAnchorX(double anchorX)

getAnchorY

public double getAnchorY()

setAnchorY

public void setAnchorY(double anchorY)

setAnchor

public void setAnchor(double anchorX,
                      double anchorY)

getAffineTransform

public AffineTransform getAffineTransform()
Specified by:
getAffineTransform in class Shape.Transform