CGRect

public extension CGRect
  • Initialize with x, y and size

    Declaration

    Swift

    init(x: CGFloat, y: CGFloat, size: CGSize)
  • Initialize with origin, width and height

    Declaration

    Swift

    init(origin: CGPoint, width: CGFloat, height: CGFloat)