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
DingiHillshadeIlluminationAnchorenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiHillshadeIlluminationAnchor: (DingiHillshadeIlluminationAnchor)hillshadeIlluminationAnchor;Swift
convenience init(dingiHillshadeIlluminationAnchor hillshadeIlluminationAnchor: DingiHillshadeIlluminationAnchor)Parameters
hillshadeIlluminationAnchorThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiHillshadeIlluminationAnchorenumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiHillshadeIlluminationAnchor DingiHillshadeIlluminationAnchorValue;Swift
var dingiHillshadeIlluminationAnchorValue: DingiHillshadeIlluminationAnchor { get }
NSValue(DingiHillshadeStyleLayerAdditions) Category Reference