Enumeration
TransformPositionReference
Options for specifying the reference position for X and Y attributes of style. If set none, it will disable the attribute.
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 = 1348945255 | readonly | Corresponding edge of the page. Left edge for X attribute, Top edge for Y attribute. | |
| Number = 1883721063 | readonly | Corresponding page margin of the page. Left margin for X attribute, Top margin for Y attribute. |
Object of 2
Properties elsewhere that hold an TransformPositionReference value.