CGFloat

struct CGFloat

This makes it easier to convert between Degrees and Radians.

  • Declaration

    Swift

    var radians: CGFloat { get }

    Return Value

    a float (in degrees), as Radians