CornerRadius

public struct CornerRadius : Hashable

Corner radius of the bar shape.

  • Undocumented

    Declaration

    Swift

    public let topLeft: CGFloat
  • Undocumented

    Declaration

    Swift

    public let topRight: CGFloat
  • Undocumented

    Declaration

    Swift

    public let bottomLeft: CGFloat
  • Undocumented

    Declaration

    Swift

    public let bottomRight: CGFloat
  • Set the coner radius for the bar shapes for top and bottom

    Declaration

    Swift

    public init(
        top: CGFloat = 15.0,
        bottom: CGFloat = 0.0
    )
  • Set the coner radius for the bar shapes for left and right

    Declaration

    Swift

    public init(
        left: CGFloat = 0.0,
        right: CGFloat = 0.0
    )
  • Set the coner radius for the bar shapes for all corners

    Declaration

    Swift

    public init(
        topLeft: CGFloat = 0,
        topRight: CGFloat = 0,
        bottomLeft: CGFloat = 0,
        bottomRight: CGFloat = 0
    )