Contents

normalized(eoFill:)

Returns a new weakly-simple copy of this path.

Declaration

func normalized(eoFill: Bool = true) -> Path

Parameters

  • 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 returned path is a weakly-simple path, has no self-intersections, and has a normalized orientation. The result of filling this path using either even-odd or non-zero fill rules is identical.

See Also

Performing operations on the path