org.apache.pivot.wtk.media.drawing
Class Shape.Scale

java.lang.Object
  extended by org.apache.pivot.wtk.media.drawing.Shape.Transform
      extended by org.apache.pivot.wtk.media.drawing.Shape.Scale
Enclosing class:
Shape

public static final class Shape.Scale
extends Shape.Transform

Represents a scale transformation.


Constructor Summary
Shape.Scale()
           
 
Method Summary
 AffineTransform getAffineTransform()
           
 double getX()
           
 double getY()
           
 void setScale(double x, double y)
           
 void setX(double x)
           
 void setY(double y)
           
 
Methods inherited from class org.apache.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.Scale

public Shape.Scale()
Method Detail

getX

public double getX()

setX

public void setX(double x)

getY

public double getY()

setY

public void setY(double y)

setScale

public void setScale(double x,
                     double y)

getAffineTransform

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