RoundedCornerStyle

public enum RoundedCornerStyle

Rounding style for backgroundStyle attribute

  • Rounding based on an absolute value for corner radii

    Declaration

    Swift

    case absolute(value: CGFloat)
  • Rounding based on relative percent value of the content height. For e.g. 50% would provide a capsule appearance for shorter content.

    Declaration

    Swift

    case relative(percent: CGFloat)
  • Undocumented

    Declaration

    Swift

    public var isRelative: Bool { get }