CGSize

public extension CGSize
  • max

    Max width and height

    Declaration

    Swift

    static var max: CGSize { get }
  • Ceiled width and height

    Declaration

    Swift

    var ceiled: CGSize { get }
  • Floored width and height

    Declaration

    Swift

    var floored: CGSize { get }
  • CGSize to rect

    Declaration

    Swift

    var toRect: CGRect { get }
  • Init square CGSize

    Declaration

    Swift

    init(size: CGFloat)

    Parameters

    size

    For square size