public class DrawLinkEvent
extends java.util.EventObject
DiagramListener.drawLink(com.mindfusion.diagramming.DrawLinkEvent)
event handlers.Constructor and Description |
---|
DrawLinkEvent(java.lang.Object source,
java.awt.Graphics2D graphics,
DiagramLink link,
boolean shadow,
PointList points) |
Modifier and Type | Method and Description |
---|---|
java.awt.Graphics2D |
getGraphics()
Gets an object implementing the Graphics2D interface 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, java.awt.Graphics2D graphics, DiagramLink link, boolean shadow, PointList points)
public java.awt.Graphics2D getGraphics()
public DiagramLink getLink()
DiagramLink
object that should be custom drawn.DiagramLink
class.public PointList getPoints()
PointList
class.public boolean getShadow()