NSValue(DingiRasterStyleLayerAdditions)
@interface NSValue (DingiRasterStyleLayerAdditions)
Methods for wrapping an enumeration value for a style layer attribute in an
DingiRasterStyleLayer
object and unwrapping its raw value.
-
Creates a new value object containing the given
DingiRasterResamplingMode
enumeration.Declaration
Objective-C
+ (nonnull instancetype)valueWithDingiRasterResamplingMode: (DingiRasterResamplingMode)rasterResamplingMode;
Swift
convenience init(dingiRasterResamplingMode rasterResamplingMode: DingiRasterResamplingMode)
Parameters
rasterResamplingMode
The value for the new object.
Return Value
A new value object that contains the enumeration value.
-
The
DingiRasterResamplingMode
enumeration representation of the value.Declaration
Objective-C
@property (readonly, atomic) DingiRasterResamplingMode DingiRasterResamplingModeValue;
Swift
var dingiRasterResamplingModeValue: DingiRasterResamplingMode { get }