public interface Drawable
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g2,
Rectangle2D area)
Draws the object.
|
void draw(Graphics2D g2, Rectangle2D area)
g2 - the graphics device.area - the area inside which the object should be drawn.Copyright © 2009-2012 jtstand.com. All Rights Reserved.