NSValue(MGLFillStyleLayerAdditions)
@interface NSValue (MGLFillStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
MGLFillStyleLayer
object and unwrapping its raw value.
-
Creates a new value object containing the given
MGLFillTranslationAnchor
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLFillTranslationAnchor: (MGLFillTranslationAnchor)fillTranslationAnchor;
Swift
convenience init(mglFillTranslationAnchor fillTranslationAnchor: MGLFillTranslationAnchor)
Parameters
fillTranslationAnchor
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
MGLFillTranslationAnchor
enumeration representation of the value.Declaration
Objective-C
@property (atomic, readonly) MGLFillTranslationAnchor MGLFillTranslationAnchorValue;
Swift
var mglFillTranslationAnchorValue: MGLFillTranslationAnchor { get }