Checks whether a point is contained in a graphics path.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The path to evaluate the point against.
An affine transform. If
NULLthen the point is transformed by this affine transform prior to determining whether the path contains the point.
The point to check.
A Boolean value that, if
YES, specifies to use the even-odd fill rule to evaluate the painted region of the path. If
NO, the winding fill rule is used.
YES if the point is contained in the path;
A point is contained in a path if it would be inside the painted region when the path is filled.