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.
-
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.
-
The
MGLFillExtrusionTranslationAnchor
enumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) MGLFillExtrusionTranslationAnchor MGLFillExtrusionTranslationAnchorValue;
Swift
var mglFillExtrusionTranslationAnchorValue: MGLFillExtrusionTranslationAnchor { get }