# NSValue(MGLFillExtrusionStyleLayerAdditions)

    @interface NSValue (MGLFillExtrusionStyleLayerAdditions)

Methods for wrapping an enumeration value for a style layer attribute in an `MGLFillExtrusionStyleLayer` object and unwrapping its raw value.

### Working with Fill extrusion Style Layer Attribute Values

- `+valueWithMGLFillExtrusionTranslationAnchor:`

  Creates a new value object containing the given `MGLFillExtrusionTranslationAnchor` enumeration.

  #### Declaration

  Objective-C

      + (nonnull instancetype)valueWithMGLFillExtrusionTranslationAnchor:
          (MGLFillExtrusionTranslationAnchor)fillExtrusionTranslationAnchor;

  Swift

      convenience init(mglFillExtrusionTranslationAnchor fillExtrusionTranslationAnchor: MGLFillExtrusionTranslationAnchor)

  #### Parameters

  `fillExtrusionTranslationAnchor` | The value for the new object.

  #### Return Value

  A new value object that contains the enumeration value.

  View Source on GitHub
- `MGLFillExtrusionTranslationAnchorValue`

  The `MGLFillExtrusionTranslationAnchor` enumeration representation of the value.

  #### Declaration

  Objective-C

      @property (readonly, atomic)
          MGLFillExtrusionTranslationAnchor MGLFillExtrusionTranslationAnchorValue;

  Swift

      var mglFillExtrusionTranslationAnchorValue: MGLFillExtrusionTranslationAnchor { get }

  View Source on GitHub