public class DrawNodeEvent
extends java.util.EventObject
Constructor and Description |
---|
DrawNodeEvent(java.lang.Object source,
android.graphics.Canvas graphics,
DiagramNode node,
boolean shadow,
android.graphics.RectF bounds) |
Modifier and Type | Method and Description |
---|---|
android.graphics.RectF |
getBounds()
Gets the bounding rectangle of the node being drawn.
|
android.graphics.Canvas |
getGraphics()
Gets a Canvas object whose methods should be used to draw the node.
|
DiagramNode |
getNode()
Gets the }
DiagramNode object that should be custom drawn. |
boolean |
getShadow()
Gets a value indicating whether the event is raised to draw the node's shadow.
|
public DrawNodeEvent(java.lang.Object source, android.graphics.Canvas graphics, DiagramNode node, boolean shadow, android.graphics.RectF bounds)
public android.graphics.RectF getBounds()
public android.graphics.Canvas getGraphics()
public DiagramNode getNode()
DiagramNode
object that should be custom drawn.DiagramNode
class.public boolean getShadow()