Dimension

public enum Dimension

Enum providing definitions of dimension options.

  • Represents value in horizontal dimension.

    Declaration

    Swift

    case width
  • Represents value in vertical dimension.

    Declaration

    Swift

    case height
  • Represents value in horizontal and vertical dimensions.

    Declaration

    Swift

    case size
  • Determines whether or not enum instance involves width dimentsion.

    Declaration

    Swift

    var isWidth: Bool { get }
  • Determines whether or not enum instance involves height dimentsion.

    Declaration

    Swift

    var isHeight: Bool { get }