SubPathItem
Represents a subpath; a collection of subpaths make up a PathItem.
Create these objects by passing SubPathInfo objects to PathItems.add() method. This method creates a
SubPathItem
object for each SubPathInfo object, and creates and then returns a new PathItem object for the
path represented by all of the subpaths. Access these objects in the PathItem.subPathItems collection.
- Use the SubPathItem object to retrieve information about existing subpaths. The properties are read-only.
- Use SubPathInfo to create subpaths; the properties are read-write.
Added in Photoshop 23.3
Properties
Name | Type | Access | Min Version | Description |
---|---|---|---|---|
closed | boolean | R | 23.3 | True if the path is closed. |
operation | R | 23.3 | How this `SubPathItem` behaves when it intersects another. Specifies how to combine the shapes if the destination path already has a selection. | |
parent | R | 23.3 | The path that contains this subpath. | |
pathPoints | R | 23.3 | The collection of the PathPoints on this `SubPathItem`. | |
typename | string | R | 23.3 | The class name of the referenced object: "SubPathItem". |