Declaration

func pathSubtract(_ selectedPaths: NSMutableArray!, from notSelectedPaths: NSMutableArray!, keepOverlaps: Bool) throws

Declaration

- (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

selectedPaths

The paths to subtract.

notSelectedPaths

The paths from which to subtract.

keepOverlaps

Whether to preserve overlapping path fragments in the result.

Parameters

selectedPaths

The paths to subtract.

notSelectedPaths

The paths from which to subtract.

keepOverlaps

Whether to preserve overlapping path fragments in the result.

error

On output, a pointer to an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for 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