lineIntersection(_:eoFill:)
Returns a new path with a line from this path that overlaps the filled regions of the given path.
Declaration
func lineIntersection(_ other: Path, eoFill: Bool = false) -> PathParameters
- other:
The path to intersect.
- 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 overlaps the filled region of other.
Intersected subpaths that are clipped create open subpaths. Closed subpaths that do not intersect other remain closed.