Search
Alignment Enumeration
See Also
 





Specifies the alignment of text relative to its layout rectangle.

Namespace: MindFusion.Diagramming
Package: Enum.js

 Syntax

JavaScript  Copy Code

// enum
Alignment = {}

 Members

  Member name Description

Center

The text is drawn in the center of the layout rectangle.

Far

The text is drawn in the far corner of the layout rectangle.

Near

The text is drawn in the near corner of the layout rectangle.

 Remarks

Members of this enumeration can be assigned to textAlignment and lineAlignment properties of diagram items.

 See Also