lineSubtraction(_:eoFill:)
Returns a new path with a line from this path that does not overlap the filled region of the given path.
Declaration
func lineSubtraction(_ other: Path, eoFill: Bool = false) -> PathParameters
- other:
The path to subtract.
- eoFill:
Whether to use the even-odd rule for determining which areas to treat as the interior of the paths (if true), or the non-zero rule (if false).
Return Value
A new path.
Discussion
The line of the resulting path is the line of this path that does not overlap the filled region of other.
Intersected subpaths that are clipped create open subpaths. Closed subpaths that do not intersect other remain closed.