NSValue(MGLHillshadeStyleLayerAdditions)
@interface NSValue (MGLHillshadeStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
MGLHillshadeStyleLayer
object and unwrapping its raw value.
-
Creates a new value object containing the given
MGLHillshadeIlluminationAnchor
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLHillshadeIlluminationAnchor: (MGLHillshadeIlluminationAnchor)hillshadeIlluminationAnchor;
Swift
convenience init(mglHillshadeIlluminationAnchor hillshadeIlluminationAnchor: MGLHillshadeIlluminationAnchor)
Parameters
hillshadeIlluminationAnchor
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
MGLHillshadeIlluminationAnchor
enumeration representation of the value.Declaration
Objective-C
@property (atomic, readonly) MGLHillshadeIlluminationAnchor MGLHillshadeIlluminationAnchorValue;
Swift
var mglHillshadeIlluminationAnchorValue: MGLHillshadeIlluminationAnchor { get }