# RotationAxisEnum

    enum RotationAxisEnum

Describes the axis of rotation of a panel.
- `


  ### [left](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO4leftyA2GmF)


  ` The panel rotates around a vertical axis located on the left side of the panel.

  #### Declaration

  Swift

      case left

- `


  ### [centeredVertical](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO16centeredVerticalyA2GmF)


  ` The panel rotates around a vertical axis located in the center of the panel.

  #### Declaration

  Swift

      case centeredVertical

- `


  ### [leftAndRight](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO12leftAndRightyA2GmF)


  ` 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

- `


  ### [right](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO5rightyA2GmF)


  ` The panel rotates around a vertical axis located on the right side of the panel.

  #### Declaration

  Swift

      case right

- `


  ### [top](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO3topyA2GmF)


  ` The panel rotates around a horizontal axis located on the top of the panel.

  #### Declaration

  Swift

      case top

- `


  ### [centeredHorizontal](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO18centeredHorizontalyA2GmF)


  ` The panel rotates around a horizontal axis located in the center of the panel.

  #### Declaration

  Swift

      case centeredHorizontal

- `


  ### [topAndBottom](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO12topAndBottomyA2GmF)


  ` The panel rotates around two horizontal axes, one on the top and one on the bottom of the
  panel.

  #### Declaration

  Swift

      case topAndBottom

- `


  ### [bottom](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO6bottomyA2GmF)


  ` The panel rotates around a horizontal axis located on the bottom of the panel.

  #### Declaration

  Swift

      case bottom

- `


  ### [leftBarrier](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO11leftBarrieryA2GmF)


  ` The barrier tilts around an axis located at the left end of the barrier.

  #### Declaration

  Swift

      case leftBarrier

- `


  ### [leftAndRightBarriers](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO20leftAndRightBarriersyA2GmF)


  ` The dual barriers tilt around axes located at each side of the composite barrier.

  #### Declaration

  Swift

      case leftAndRightBarriers

- `


  ### [rightBarrier](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO12rightBarrieryA2GmF)


  ` The barrier tilts around an axis located on the right barrier of the panel.

  #### Declaration

  Swift

      case rightBarrier

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/RotationAxisEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV16RotationAxisEnumO8rawValueAGSgs6UInt64V_tcfc)


  ` 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

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |