DroidDiagram Programmer's Guide
AnchorPoint Members
Constructors Methods
 


Represent a point where a link can connect to a node. A set of anchor points is represented by the AnchorPattern class. Such a set can be assigned to a node by calling the setAnchorPattern method.

The following tables list the members exposed by the AnchorPoint type.

 Public Constructors

  Name Description

AnchorPoint

Overloaded.  

 Public Methods

  Name Description

clone

Creates a clone of the anchor point.

getAllowIncoming

Gets a value indicating whether this anchor point accepts incoming links.

getAllowOutgoing

Gets a value indicating whether this anchor point accepts outgoing links.

getColor

Gets the color used to draw this anchor point.

getColumn

Gets the column to which this anchor point is related.

getMarkStyle

Gets a value indicating what mark is drawn at the position of this anchor point.

getTag

Gets a custom data object assigned to this anchor point.

getX

Gets the X position of the anchor point.

getXUnit

Gets whether the point's X position is specified as percentage of node's size or fixed offset from the node's left side.

getY

Gets the Y position of the anchor point.

getYUnit

Gets whether the point's Y position is specified as percentage of node's size or fixed offset from the node's top side.

readExternal

 

setAllowIncoming

Sets a value indicating whether this anchor point accepts incoming links.

setAllowOutgoing

Sets a value indicating whether this anchor point accepts outgoing links.

setColor

Sets the color used to draw this anchor point.

setColumn

Sets the column to which this anchor point is related.

setMarkStyle

Sets a value indicating what mark is drawn at the position of this anchor point.

setTag

Assigns a custom data object to this anchor point.

setX

Sets the X position of the anchor point.

setXUnit

Sets whether the point's X position is specified as percentage of node's size or fixed offset from the node's left side.

setY

Sets the Y position of the anchor point.

setYUnit

Sets whether the point's Y position is specified as percentage of node's size or fixed offset from the node's top side.

writeExternal

 

 See Also

AnchorPoint Class
com.mindfusion.diagramming Namespace