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.

Added in Photoshop 23.3

Properties

Name
Type
Access
Min Version
Description
closed
boolean
R
23.3
True if the path is closed.
operation
ShapeOperation
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
PathItem
R
23.3
The path that contains this subpath.
pathPoints
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".