Returns whether the specified point is interior to the path.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 7.1+
- Core Graphics
The point to check.
The rule for determining which areas to treat as the interior of the path. Defaults to the
CGPathrule if not specified.
Fill Rule .winding
An affine transform to apply to the point before checking for containment in the path. Defaults to the
identitytransform if not specified.
true if the point is interior to the path; otherwise,
A point is contained in a path if it would be inside the painted region when the path is filled.