A collection of paths.
Methods
Pathadd ([withProperties:
Object])
Creates a new Path.
| Parameter | Type | Description |
|---|---|---|
| withProperties | Object | Initial values for properties of the new Path (Optional) |
PathanyItem ()
Returns any Path in the collection.
number count ()
Displays the number of elements in the Path.
Array of PatheveryItem ()
Returns every Path in the collection.
PathfirstItem ()
Returns the first Path in the collection.
Pathitem (index:
any)
Returns the Path with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
PathitemByName (name:
string)
Returns the Path with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of PathitemByRange (from:
any, to:
any)
Returns the Paths within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Path Long Integer String |
The Path, index, or name at the beginning of the range. Can accept: Path, Long Integer or String. |
| to | Path Long Integer String |
The Path, index, or name at the end of the range. Can accept: Path, Long Integer or String. |
PathlastItem ()
Returns the last Path in the collection.
PathmiddleItem ()
Returns the middle Path in the collection.
PathnextItem (obj:
Path)
Returns the Path whose index follows the specified Path in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Path | The Path whose index comes before the desired Path. |
PathpreviousItem (obj:
Path)
Returns the Path with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Path | The index of the Path that follows the desired Path. |
string toSource ()
Generates a string which, if executed, will return the Path.
Element of:
ClippingPathSettings.paths
GraphicLine.paths
Oval.paths
PageItem.paths
Polygon.paths
Rectangle.paths
TextFrame.paths
TextWrapPreference.paths