CGRect

public extension CGRect
  • Center point

    Declaration

    Swift

    var center: CGPoint { get set }
  • Returns new rect rounded to a nearest pixel.

    Declaration

    Swift

    var roundedToPixel: CGRect { get }