enum RotationAxisEnumDescribes the axis of rotation of a panel.
-
The panel rotates around a vertical axis located on the left side of the panel.
Declaration
Swift
case left -
The panel rotates around a vertical axis located in the center of the panel.
Declaration
Swift
case centeredVertical -
The panel rotates around two vertical axes, one on the left side and one on the right side of the panel.
Declaration
Swift
case leftAndRight -
The panel rotates around a vertical axis located on the right side of the panel.
Declaration
Swift
case right -
The panel rotates around a horizontal axis located on the top of the panel.
Declaration
Swift
case top -
The panel rotates around a horizontal axis located in the center of the panel.
Declaration
Swift
case centeredHorizontal -
The panel rotates around two horizontal axes, one on the top and one on the bottom of the panel.
Declaration
Swift
case topAndBottom -
The panel rotates around a horizontal axis located on the bottom of the panel.
Declaration
Swift
case bottom -
The barrier tilts around an axis located at the left end of the barrier.
Declaration
Swift
case leftBarrier -
The dual barriers tilt around axes located at each side of the composite barrier.
Declaration
Swift
case leftAndRightBarriers -
The barrier tilts around an axis located on the right barrier of the panel.
Declaration
Swift
case rightBarrier -
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"Declaration
Swift
init?(rawValue: UInt64)Parameters
rawValueThe raw value to use for the new instance.