Enumeration
DistributeOptions
Options for distributing objects.
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 = 1114916196 | readonly | Distribute based on the bottom edges of the objects. | |
| Number = 1215257187 | readonly | Distribute based on the horizontal centers of the objects. | |
| Number = 1215257203 | readonly | Distribute based on the horizontal spacing of the objects. | |
| Number = 1281770852 | readonly | Distribute based on the left edges of the objects. | |
| Number = 1383351652 | readonly | Distribute based on the right edges of the objects. | |
| Number = 1416643940 | readonly | Distribute based on the top edges of the objects. | |
| Number = 1449481315 | readonly | Distribute based on the vertical centers of the objects. | |
| Number = 1449489523 | readonly | Distribute based on the vertical spacing of the objects. |
Parameter of 1
Method parameters that accept an DistributeOptions value.