public class DrawEvent
extends java.util.EventObject
Constructor and Description |
---|
DrawEvent(java.lang.Object source,
java.awt.Graphics g,
java.awt.geom.Rectangle2D b)
Initializes a new instance of the
DrawEvent class. |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getBounds()
Gets the bounding rectangle of the element being drawn.
|
java.awt.Graphics |
getGraphics()
Gets the target graphics.
|
public DrawEvent(java.lang.Object source, java.awt.Graphics g, java.awt.geom.Rectangle2D b)
DrawEvent
class.