Enumeration
HorizontalAlignment
The horizontal alignment of an anchored object. Not valid when anchored position is inline.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1667591796 | readonly | Place the anchored object at the center of the reference. | |
| Number = 1818584692 | readonly | Place the anchored object to the left of the reference. | |
| Number = 1919379572 | readonly | Place the anchored object to the right of the reference. | |
| Number = 1954046316 | readonly | Place the anchored object relative to the text alignment. |
Object of 1
Properties elsewhere that hold an HorizontalAlignment value.