org.apache.pivot.wtk.media.drawing
Class Shape.Translate
java.lang.Object
org.apache.pivot.wtk.media.drawing.Shape.Transform
org.apache.pivot.wtk.media.drawing.Shape.Translate
- Enclosing class:
- Shape
public static final class Shape.Translate
- extends Shape.Transform
Represents a translation transformation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shape.Translate
public Shape.Translate()
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