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 | Description |
|---|---|---|---|
| closed | boolean | Read-only | True if the path is closed. |
| operation | ShapeOperation | Read-only | How this `SubPathItem` behaves when it intersects another. Specifies how to combine the shapes if the destination path already has a selection. |
| parent | PathItem | Read-only | The path this subpath belongs to |
| pathPoints | PathPoints | Read-only | The collection of the PathPoints on this `SubPathItem`. |
| typename | string | Read-only | The class name of the referenced PathItem object |
