Axis

public enum Axis

Enum providing definitions of axis options.

  • x

    Represents horizontal axis.

    Declaration

    Swift

    case x
  • y

    Represents vertical axis.

    Declaration

    Swift

    case y
  • isX

    Determines whether or not enum instance involves horizontal//x axis.

    Declaration

    Swift

    var isX: Bool { get }
  • isY

    Determines whether or not enum instance involves vertical//y axis.

    Declaration

    Swift

    var isY: Bool { get }