Instance Method
pathSubtract(_:from:keepOverlaps:) pathSubtract:from:keepOverlaps:error: pathSubtract_from_keepOverlaps_error_
Subtracts one mutable path collection from another.
Declaration
func pathSubtract(_ selectedPaths: NSMutableArray!, from notSelectedPaths: NSMutableArray!, keepOverlaps: Bool) throwsDeclaration
- (BOOL) pathSubtract:(NSMutableArray *) selectedPaths from:(NSMutableArray *) notSelectedPaths keepOverlaps:(BOOL) keepOverlaps error:(NSError **) error;Declaration
pathSubtract_from_keepOverlaps_error_(selectedPaths: list, notSelectedPaths: list, keepOverlaps: bool) -> tuple[bool, NSError]Parameters
selectedPathsThe paths to subtract.
notSelectedPathsThe paths from which to subtract.
keepOverlapsWhether to preserve overlapping path fragments in the result.
Parameters
selectedPathsThe paths to subtract.
notSelectedPathsThe paths from which to subtract.
keepOverlapsWhether to preserve overlapping path fragments in the result.
errorOn output, a pointer to an error object that describes why the method failed, or
nilif no error occurred. If you are not interested in the error information, passnilfor this parameter.
Discussion
Both collections are replaced with operation results.
Return Value
Whether the operation completed successfully.
Discussion
Both collections are replaced with operation results.
See Also
Boolean Operations
Removes overlaps between applicable paths.
Removes overlaps between applicable paths using explicit open-path and grid settings.
Removes overlaps between paths according to a set of options.
Subtracts selected paths from unselected paths.
Subtracts selected paths from unselected paths.
Intersects selected paths with unselected paths.
Intersects applicable selected and unselected paths.