Extensions on
CGRect
Properties
topLeading
public var topLeading: CGPoint
topTrailing
public var topTrailing: CGPoint
bottomTrailing
public var bottomTrailing: CGPoint
bottomLeading
public var bottomLeading: CGPoint
center
public var center: CGPoint
minimumDimensionSpan
public var minimumDimensionSpan: CGFloat
The number of points spanned by the smallest dimension of the rectangle.
2-D Rectangles have two dimensions: a "width" and a "length"
maximumDimensionSpan
public var maximumDimensionSpan: CGFloat
The number of points spanned by the largest dimension of the rectangle.
2-D Rectangles have two dimensions: a "width" and a "length"