contains(_:)
Returns a Boolean value that indicates whether a particular point is contained in the region.
Declaration
func contains(_ point: CGPoint) -> BoolParameters
- point:
A point.
Return Value
true if the point is contained in the region; otherwise, false.