Edge

public enum Edge : Int8, CaseIterable

An enumeration to indicate one edge of a rectangle.

  • The bottom edge.

    Declaration

    Swift

    case bottom
  • The leading edge.

    Declaration

    Swift

    case leading
  • top

    The top edge.

    Declaration

    Swift

    case top
  • The trailing edge.

    Declaration

    Swift

    case trailing
  • Set

    An efficient set of Edges.

    See more

    Declaration

    Swift

    public struct Set : OptionSet