Specifies the alignment of text relative to its layout rectangle.
Namespace: MindFusion.Diagramming
File: Enum.js
JavaScript Copy Code |
---|
// enum |
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. |
Members of this enumeration can be assigned to textAlignment and lineAlignment properties of diagram items.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |