Instance Property

minY

Returns the smallest value for the y-coordinate of the rectangle.

Declaration

var minY: CGFloat { get }

Parameters

rect

The rectangle to examine.

Return Value

The smallest value for the y-coordinate of the rectangle.

See Also

Calculated Geometric Properties

var height: CGFloat

Returns the height of a rectangle.

var width: CGFloat

Returns the width of a rectangle.

var minX: CGFloat

Returns the smallest value for the x-coordinate of the rectangle.

var midX: CGFloat

Returns the x- coordinate that establishes the center of a rectangle.

var maxX: CGFloat

Returns the largest value of the x-coordinate for the rectangle.

var midY: CGFloat

Returns the y-coordinate that establishes the center of the rectangle.

var maxY: CGFloat

Returns the largest value for the y-coordinate of the rectangle.