CornerRounding

public enum CornerRounding
extension CornerRounding: Equatable

The size of corner rounding.

  • No rounding.

    Declaration

    Swift

    case none
  • The fixed radius of corners in display points.

    Declaration

    Swift

    case fixed(CGFloat)
  • The radius of corners in percent of length of smallest dimension (width or height). Value should be in range of 0 to 0,5. Negative and exceeding positive values will be rounded to 0 or 0,5 accordingly.

    Declaration

    Swift

    case percent(CGFloat)