Used to access the paths in the collection.
Creates a new path item object and adds it to this collection.
A new SubPathItem object is created for each SubPathInfo object provided in entirePath,
and those SubPathItem objects are added to the PathItem.subPathItems collection of the returned
PathItem.
Retrieve the first PathItem matching the given name.
Name to find
The collection of PathItem objects in a document.
Access through the Document.pathItems collection property. To create new paths, see PathPointInfo and SubPathInfo classes and pass them to PathItems.add() method.
See
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/pathitems/