public class DrawAnchorPointEvent
extends java.util.EventObject
| Constructor and Description |
|---|
DrawAnchorPointEvent(java.lang.Object source,
android.graphics.Canvas graphics,
android.graphics.PointF location,
DiagramNode node,
AnchorPattern anchorPattern,
int anchorIndex)
Initializes a new instance of the DrawAnchorPointEvent class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAnchorIndex()
Gets the index of the anchor point within its containing pattern.
|
AnchorPattern |
getAnchorPattern()
Gets the anchor pattern containing the anchor point being drawn.
|
android.graphics.Canvas |
getGraphics()
Gets a Canvas object whose methods should be used to draw the anchor point mark.
|
android.graphics.PointF |
getLocation()
Gets the location of the anchor point being drawn.
|
DiagramNode |
getNode()
Gets the node whose anchor point is being drawn.
|
public DrawAnchorPointEvent(java.lang.Object source,
android.graphics.Canvas graphics,
android.graphics.PointF location,
DiagramNode node,
AnchorPattern anchorPattern,
int anchorIndex)
source - The source of the event.graphics - The Graphics2D object that represents the target of the drawing operation.location - The position of the anchor point, expressed in document coordinates.node - The DiagramNode related to the event.anchorPattern - The AnchorPattern object whose point is being drawn.anchorIndex - The zero-based index of the anchor point being drawn within its anchor pattern.public int getAnchorIndex()
AnchorPattern.public AnchorPattern getAnchorPattern()
AnchorPattern class.public android.graphics.Canvas getGraphics()
public android.graphics.PointF getLocation()
public DiagramNode getNode()
DiagramNode class.