pivot.wtk.media.drawing
Class Shape.Translate

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

public static final class Shape.Translate
extends Shape.Transform

Represents a translation transformation.

Author:
gbrown

Constructor Summary
Shape.Translate()
           
 
Method Summary
 AffineTransform getAffineTransform()
           
 double getX()
           
 double getY()
           
 void setTranslation(double x, double y)
           
 void setX(double x)
           
 void setY(double y)
           
 
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.Translate

public Shape.Translate()
Method Detail

getX

public double getX()

setX

public void setX(double x)

getY

public double getY()

setY

public void setY(double y)

setTranslation

public void setTranslation(double x,
                           double y)

getAffineTransform

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