Instance Method
selectedPaths(_:notSelected:) selectedPaths:notSelected: selectedPaths_notSelected_
Separates paths by whether they contain selected nodes.
Declaration
func selectedPaths(_ selectedPaths: NSMutableArray, notSelected notSelectedPaths: NSMutableArray?)Declaration
- (void) selectedPaths:(NSMutableArray *) selectedPaths notSelected:(NSMutableArray *) notSelectedPaths;Declaration
selectedPaths_notSelected_(selectedPaths: list, notSelectedPaths: list)Parameters
selectedPathsThe array to which paths containing selected nodes are added.
notSelectedPathsThe array to which the remaining paths are added.
Discussion
When no path contains a selected node, the last path is treated as selected.
See Also
Selection Serialization
Content representing the selected elements for serialization and paste.
Structural mappings for the selected elements.
Removes elements described by structural mappings.
Removes a selectable element from the layer.
Removes mapped nodes while preserving the unselected path portions.
Adds content from a serialized selection dictionary.