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