gnu.kawa.models
Class DrawImage
java.lang.Object
gnu.kawa.models.Model
gnu.kawa.models.DrawImage
- All Implemented Interfaces:
- Paintable, Viewable, java.io.Serializable
public class DrawImage
- extends Model
- implements Paintable, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DrawImage
public DrawImage()
DrawImage
public DrawImage(java.awt.image.BufferedImage image)
makeView
public void makeView(Display display,
java.lang.Object where)
- Specified by:
makeView
in interface Viewable
paint
public void paint(java.awt.Graphics2D graphics)
- Specified by:
paint
in interface Paintable
getBounds2D
public java.awt.geom.Rectangle2D getBounds2D()
- Specified by:
getBounds2D
in interface Paintable
transform
public Paintable transform(java.awt.geom.AffineTransform tr)
- Specified by:
transform
in interface Paintable
getImage
public java.awt.Image getImage()
getSrc
public Path getSrc()
setSrc
public void setSrc(Path src)