public class DrawLinkEvent
extends java.util.EventObject
DiagramListener.drawLink(com.mindfusion.diagramming.DrawLinkEvent)
event handlers.Constructor and Description |
---|
DrawLinkEvent(java.lang.Object source,
android.graphics.Canvas graphics,
DiagramLink link,
boolean shadow,
PointList points) |
Modifier and Type | Method and Description |
---|---|
android.graphics.Canvas |
getGraphics()
Gets a Canvas object whose methods should be used to draw the link.
|
DiagramLink |
getLink()
Gets the
DiagramLink object that should be custom drawn. |
PointList |
getPoints()
Gets a collection of the link's control points.
|
boolean |
getShadow()
Gets a value indicating whether the event is raised to draw the link's shadow.
|
public DrawLinkEvent(java.lang.Object source, android.graphics.Canvas graphics, DiagramLink link, boolean shadow, PointList points)
public android.graphics.Canvas getGraphics()
public DiagramLink getLink()
DiagramLink
object that should be custom drawn.DiagramLink
class.public PointList getPoints()
PointList
class.public boolean getShadow()