contains(_:eoFill:)
Returns true if the path contains a specified point.
Declaration
func contains(_ p: CGPoint, eoFill: Bool = false) -> BoolDiscussion
If eoFill is true, this method uses the even-odd rule to define which points are inside the path. Otherwise, it uses the non-zero rule.