MindFusion.Java Package Programmer's Guide
NodeLabel.setCenterPosition Method
See Also
 






Positions this label relatively to the node center.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setCenterPosition (
    float dx,
    float dy
)

 Parameters

dx

Horizontal offset from the center point.

dy

Vertical offset from the center point.

 Remarks

This method sets the node's center as label's pin point and assigns specified offsets to HorizontalOffset and VerticalOffset properties.

 See Also

NodeLabel Members
NodeLabel Class
com.mindfusion.diagramming Namespace