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
MGLHillshadeIlluminationAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLHillshadeIlluminationAnchor: (MGLHillshadeIlluminationAnchor)hillshadeIlluminationAnchor;Swift
convenience init(mglHillshadeIlluminationAnchor hillshadeIlluminationAnchor: MGLHillshadeIlluminationAnchor)Parameters
hillshadeIlluminationAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
MGLHillshadeIlluminationAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) MGLHillshadeIlluminationAnchor MGLHillshadeIlluminationAnchorValue;Swift
var mglHillshadeIlluminationAnchorValue: MGLHillshadeIlluminationAnchor { get }
Install in Dash
NSValue(MGLHillshadeStyleLayerAdditions) Category Reference