CGRectMake(_:_:_:_:)
Returns a rectangle with the specified coordinate and size values.
Declaration
func CGRectMake(_ x: CGFloat, _ y: CGFloat, _ width: CGFloat, _ height: CGFloat) -> CGRectParameters
- x:
The x-coordinate of the rectangle’s origin point.
- y:
The y-coordinate of the rectangle’s origin point.
- width:
The width of the rectangle.
- height:
The height of the rectangle.
Return Value
A rectangle with the specified location and dimensions.