Enumeration
TextTypeAlignments
The text alignment relative to the path.
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 = 1952543333 | readonly | The top-edge or right-edge baseline of the em box is aligned to the path. | |
| Number = 1952543337 | readonly | The ideographic character face box top-edge or right-edge baseline is aligned to the path. | |
| Number = 1952538995 | readonly | Aligns the ascender to the path (not the path's stroke). | |
| Number = 1952539244 | readonly | The text baseline is aligned to the path (not the path's stroke). | |
| Number = 1952607333 | readonly | The bottom-edge or left-edge baseline of the em box is aligned to the path. | |
| Number = 1952607337 | readonly | The ideographic character face box bottom-edge or left-edge baseline is aligned to the path. | |
| Number = 1952539508 | readonly | Aligns the midpoint between the ascender and the descender to the path (not the path's stroke). | |
| Number = 1952539763 | readonly | Aligns descender to the path (not the path's stroke). |
Object of 1
Properties elsewhere that hold an TextTypeAlignments value.