isRect(_:)
Indicates whether or not a graphics path represents a rectangle.
Declaration
func isRect(_ rect: UnsafeMutablePointer<CGRect>?) -> BoolParameters
- rect:
On input, a pointer to an uninitialized rectangle. If the specified path represents a rectangle, on return contains a copy of the rectangle.
Return Value
A Boolean value that indicates whether the specified path represents a rectangle. If the path represents a rectangle, returns true.