CGFloat

@frozen
struct CGFloat
  • abs

    SwifterSwift: Absolute of CGFloat value.

    Declaration

    Swift

    var abs: CGFloat { get }
  • SwifterSwift: Ceil of CGFloat value.

    Declaration

    Swift

    var ceil: CGFloat { get }
  • SwifterSwift: Radian value of degree input.

    Declaration

    Swift

    var degreesToRadians: CGFloat { get }
  • SwifterSwift: Floor of CGFloat value.

    Declaration

    Swift

    var floor: CGFloat { get }
  • SwifterSwift: Check if CGFloat is positive.

    Declaration

    Swift

    var isPositive: Bool { get }
  • SwifterSwift: Check if CGFloat is negative.

    Declaration

    Swift

    var isNegative: Bool { get }
  • int

    SwifterSwift: Int.

    Declaration

    Swift

    var int: Int { get }
  • SwifterSwift: Float.

    Declaration

    Swift

    var float: Float { get }
  • SwifterSwift: Double.

    Declaration

    Swift

    var double: Double { get }
  • SwifterSwift: Degree value of radian input.

    Declaration

    Swift

    var radiansToDegrees: CGFloat { get }