Enumeration
TextPathEffects
Options for the alignment and appearance of type on a 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 = 1601201767 | readonly | The center of each character's baseline is on the path while each vertical edge is in line with the path's center point. | |
| Number = 1601201778 | readonly | The center of each character's baseline is parallel to the path's tangent. This is the default effect. | |
| Number = 1601201715 | readonly | The text characters' horizontal edges are perfectly horizontal regardless of the path shape. | |
| Number = 1601201779 | readonly | The text characters' vertical edges are perfectly vertical regardless of the path shape. | |
| Number = 1601205107 | readonly | The left edge of each character's baseline is on the path and no characters are rotated. |
Object of 1
Properties elsewhere that hold an TextPathEffects value.