# TranslationDirectionEnum

    enum TranslationDirectionEnum

Describes the direction of translation for a composed closure.
- `


  ### [downward](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO8downwardyA2GmF)


  ` Downward translation.

  #### Declaration

  Swift

      case downward

- `


  ### [upward](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO6upwardyA2GmF)


  ` Upward translation.

  #### Declaration

  Swift

      case upward

- `


  ### [verticalMask](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO12verticalMaskyA2GmF)


  ` Vertical mask translation.

  #### Declaration

  Swift

      case verticalMask

- `


  ### [verticalSymmetry](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO16verticalSymmetryyA2GmF)


  ` Vertical symmetry translation.

  #### Declaration

  Swift

      case verticalSymmetry

- `


  ### [leftward](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO8leftwardyA2GmF)


  ` Leftward translation.

  #### Declaration

  Swift

      case leftward

- `


  ### [rightward](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO9rightwardyA2GmF)


  ` Rightward translation.

  #### Declaration

  Swift

      case rightward

- `


  ### [horizontalMask](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO14horizontalMaskyA2GmF)


  ` Horizontal mask translation.

  #### Declaration

  Swift

      case horizontalMask

- `


  ### [horizontalSymmetry](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO18horizontalSymmetryyA2GmF)


  ` Horizontal symmetry translation.

  #### Declaration

  Swift

      case horizontalSymmetry

- `


  ### [forward](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO7forwardyA2GmF)


  ` Forward translation.

  #### Declaration

  Swift

      case forward

- `


  ### [backward](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO8backwardyA2GmF)


  ` Backward translation.

  #### Declaration

  Swift

      case backward

- `


  ### [depthMask](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO9depthMaskyA2GmF)


  ` Depth mask translation.

  #### Declaration

  Swift

      case depthMask

- `


  ### [depthSymmetry](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO13depthSymmetryyA2GmF)


  ` Depth symmetry translation.

  #### Declaration

  Swift

      case depthSymmetry

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ClosureDimensionTrait/TranslationDirectionEnum#/s:15GoogleHomeTypes6MatterO21ClosureDimensionTraitV24TranslationDirectionEnumO8rawValueAGSgs6UInt64V_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. |