summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLRasterStyleLayer.h
blob: 9284221cec6bf7c0ccafecb09d68d5a711745a12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// This file is generated. 
// Edit platform/darwin/scripts/generate-style-code.js, then run `make style-code-darwin`.

#import "MGLStyleAttributeValue.h"
#import "MGLBaseStyleLayer.h"

NS_ASSUME_NONNULL_BEGIN

@interface MGLRasterStyleLayer : MGLBaseStyleLayer <MGLStyleLayer>

#pragma mark - Accessing the Paint Attributes

/**
 The opacity at which the image will be drawn.
 
 If this property is set to `nil`, the layer uses an implicit default value of `1`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterOpacity;

/**
 Rotates hues around the color wheel.

 This property is measured in degrees.
 
 If this property is set to `nil`, the layer uses an implicit default value of `0`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterHueRotate;

/**
 Increase or reduce the brightness of the image. The value is the minimum brightness.
 
 If this property is set to `nil`, the layer uses an implicit default value of `0`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterBrightnessMin;

/**
 Increase or reduce the brightness of the image. The value is the maximum brightness.
 
 If this property is set to `nil`, the layer uses an implicit default value of `1`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterBrightnessMax;

/**
 Increase or reduce the saturation of the image.
 
 If this property is set to `nil`, the layer uses an implicit default value of `0`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterSaturation;

/**
 Increase or reduce the contrast of the image.
 
 If this property is set to `nil`, the layer uses an implicit default value of `0`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterContrast;

/**
 Fade duration when a new tile is added.

 This property is measured in milliseconds.
 
 If this property is set to `nil`, the layer uses an implicit default value of `300`.
 */
@property (nonatomic, nullable) id <MGLStyleAttributeValue> rasterFadeDuration;

@end

NS_ASSUME_NONNULL_END