nodebox.graphics
Class AbstractGrob
java.lang.Object
nodebox.graphics.AbstractGrob
- All Implemented Interfaces:
- Cloneable, Drawable, Grob
- Direct Known Subclasses:
- Image, Text
public abstract class AbstractGrob
- extends Object
- implements Grob
| Methods inherited from interface nodebox.graphics.Drawable |
draw |
AbstractGrob
protected AbstractGrob()
AbstractGrob
protected AbstractGrob(AbstractGrob g)
getTransform
public Transform getTransform()
setTransform
public void setTransform(Transform transform)
transform
public void transform(Transform t)
- Specified by:
transform in interface Grob
appendTransform
public void appendTransform(Transform transform)
prependTransform
public void prependTransform(Transform transform)
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
saveTransform
protected void saveTransform(Graphics2D g)
restoreTransform
protected void restoreTransform(Graphics2D g)
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.