# NSValue(MGLCircleStyleLayerAdditions)

    @interface NSValue (MGLCircleStyleLayerAdditions)

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

### Working with Circle Style Layer Attribute Values

- `+valueWithMGLCirclePitchAlignment:`

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

  #### Declaration

  Objective-C

      + (nonnull instancetype)valueWithMGLCirclePitchAlignment:
          (MGLCirclePitchAlignment)circlePitchAlignment;

  Swift

      convenience init(mglCirclePitchAlignment circlePitchAlignment: MGLCirclePitchAlignment)

  #### Parameters

  `circlePitchAlignment` | The value for the new object.

  #### Return Value

  A new value object that contains the enumeration value.

  View Source on GitHub
- `MGLCirclePitchAlignmentValue`

  The `MGLCirclePitchAlignment` enumeration representation of the value.

  #### Declaration

  Objective-C

      @property (readonly, atomic)
          MGLCirclePitchAlignment MGLCirclePitchAlignmentValue;

  Swift

      var mglCirclePitchAlignmentValue: MGLCirclePitchAlignment { get }

  View Source on GitHub
- `+valueWithMGLCircleScaleAlignment:`

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

  #### Declaration

  Objective-C

      + (nonnull instancetype)valueWithMGLCircleScaleAlignment:
          (MGLCircleScaleAlignment)circleScaleAlignment;

  Swift

      convenience init(mglCircleScaleAlignment circleScaleAlignment: MGLCircleScaleAlignment)

  #### Parameters

  `circleScaleAlignment` | The value for the new object.

  #### Return Value

  A new value object that contains the enumeration value.

  View Source on GitHub
- `MGLCircleScaleAlignmentValue`

  The `MGLCircleScaleAlignment` enumeration representation of the value.

  #### Declaration

  Objective-C

      @property (readonly, atomic)
          MGLCircleScaleAlignment MGLCircleScaleAlignmentValue;

  Swift

      var mglCircleScaleAlignmentValue: MGLCircleScaleAlignment { get }

  View Source on GitHub
- `+valueWithMGLCircleTranslationAnchor:`

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

  #### Declaration

  Objective-C

      + (nonnull instancetype)valueWithMGLCircleTranslationAnchor:
          (MGLCircleTranslationAnchor)circleTranslationAnchor;

  Swift

      convenience init(mglCircleTranslationAnchor circleTranslationAnchor: MGLCircleTranslationAnchor)

  #### Parameters

  `circleTranslationAnchor` | The value for the new object.

  #### Return Value

  A new value object that contains the enumeration value.

  View Source on GitHub
- `MGLCircleTranslationAnchorValue`

  The `MGLCircleTranslationAnchor` enumeration representation of the value.

  #### Declaration

  Objective-C

      @property (readonly, atomic)
          MGLCircleTranslationAnchor MGLCircleTranslationAnchorValue;

  Swift

      var mglCircleTranslationAnchorValue: MGLCircleTranslationAnchor { get }

  View Source on GitHub