Enumeration
AnchorPosition
Options for specifying the position of the anchored object relative to the its anchor.
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 = 1095716961 | readonly | Place the anchored object above the line of text that contains the object. | |
| Number = 1097814113 | readonly | Custom anchor position. | |
| Number = 1095716969 | readonly | Align the anchored object with the baseline of the line that contains the object. |
Object of 3
Properties elsewhere that hold an AnchorPosition value.
Parameter of 1
Method parameters that accept an AnchorPosition value.