NSValue(MGLRasterStyleLayerAdditions)
@interface NSValue (MGLRasterStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
MGLRasterStyleLayer object and unwrapping its raw value.
-
Creates a new value object containing the given
MGLRasterResamplingModeenumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithMGLRasterResamplingMode: (MGLRasterResamplingMode)rasterResamplingMode;Swift
convenience init(mglRasterResamplingMode rasterResamplingMode: MGLRasterResamplingMode)Parameters
rasterResamplingModeThe value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
MGLRasterResamplingModeenumeration representation of the value.Declaration
Objective-C
@property (readonly) MGLRasterResamplingMode MGLRasterResamplingModeValue;Swift
var mglRasterResamplingModeValue: MGLRasterResamplingMode { get }
Install in Dash
NSValue(MGLRasterStyleLayerAdditions) Category Reference