nodebox.graphics
Class AbstractTransformable

java.lang.Object
  extended by nodebox.graphics.AbstractTransformable
All Implemented Interfaces:
Cloneable, Drawable, Grob
Direct Known Subclasses:
AbstractGeometry, Canvas

public abstract class AbstractTransformable
extends Object
implements Grob


Constructor Summary
AbstractTransformable()
           
 
Method Summary
abstract  Grob clone()
           
 TransformDelegate getTransformDelegate()
           
 void rotate(double degrees)
           
 void rotateRadians(double radians)
           
 void scale(double scale)
           
 void scale(double sx, double sy)
           
 void setTransformDelegate(TransformDelegate d)
           
 void skew(double skew)
           
 void skew(double kx, double ky)
           
 void translate(double tx, double ty)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nodebox.graphics.Grob
getBounds, isEmpty, transform
 
Methods inherited from interface nodebox.graphics.Drawable
draw
 

Constructor Detail

AbstractTransformable

public AbstractTransformable()
Method Detail

translate

public void translate(double tx,
                      double ty)
Specified by:
translate in interface Grob

rotate

public void rotate(double degrees)
Specified by:
rotate in interface Grob

rotateRadians

public void rotateRadians(double radians)
Specified by:
rotateRadians in interface Grob

scale

public void scale(double scale)
Specified by:
scale in interface Grob

scale

public void scale(double sx,
                  double sy)
Specified by:
scale in interface Grob

skew

public void skew(double skew)
Specified by:
skew in interface Grob

skew

public void skew(double kx,
                 double ky)
Specified by:
skew in interface Grob

getTransformDelegate

public TransformDelegate getTransformDelegate()
Specified by:
getTransformDelegate in interface Grob

setTransformDelegate

public void setTransformDelegate(TransformDelegate d)
Specified by:
setTransformDelegate in interface Grob

clone

public abstract Grob clone()
Specified by:
clone in interface Grob
Overrides:
clone in class Object


Copyright © 2013. All Rights Reserved.