RectCorner

public struct RectCorner : OptionSet

Represents the rect corner setting when processing a round corner image.

  • Raw value of the rect corner.

    Declaration

    Swift

    public let rawValue: Int
  • Represents the top left corner.

    Declaration

    Swift

    public static let topLeft: RectCorner
  • Represents the top right corner.

    Declaration

    Swift

    public static let topRight: RectCorner
  • Represents the bottom left corner.

    Declaration

    Swift

    public static let bottomLeft: RectCorner
  • Represents the bottom right corner.

    Declaration

    Swift

    public static let bottomRight: RectCorner
  • all

    Represents all corners.

    Declaration

    Swift

    public static let all: RectCorner
  • Creates a RectCorner option set with a given value.

    Declaration

    Swift

    public init(rawValue: Int)

    Parameters

    rawValue

    The value represents a certain corner option.