net.sf.epsgraphics
Interface Drawable
public interface Drawable
An interface for an object that can draw itself within an rectangle using a
Graphics2D context.
- Author:
- Thomas Abeel
Method Summary |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
Draws the object in the rectangle using the provide graphics context. |
draw
void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
- Draws the object in the rectangle using the provide graphics context.
- Parameters:
g2
- the graphics device.area
- the area inside which the object should be drawn.
Copyright © 2007-2009 - Thomas Abeel - All Rights Reserved.