blob: 6d0c7dd91cdda174253e7a776bf43d7e5eb3445b (
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
|
// This file is generated. Do not edit.
#pragma once
#include <mbgl/style/layer.hpp>
#include <mbgl/style/filter.hpp>
#include <mbgl/style/property_value.hpp>
#include <mbgl/util/color.hpp>
namespace mbgl {
namespace style {
class RasterLayer : public Layer {
public:
RasterLayer(const std::string& layerID);
~RasterLayer() final;
// Source
void setSource(const std::string& sourceID);
const std::string& getSourceID() const;
// Paint properties
PropertyValue<float> getRasterOpacity() const;
void setRasterOpacity(PropertyValue<float>);
PropertyValue<float> getRasterHueRotate() const;
void setRasterHueRotate(PropertyValue<float>);
PropertyValue<float> getRasterBrightnessMin() const;
void setRasterBrightnessMin(PropertyValue<float>);
PropertyValue<float> getRasterBrightnessMax() const;
void setRasterBrightnessMax(PropertyValue<float>);
PropertyValue<float> getRasterSaturation() const;
void setRasterSaturation(PropertyValue<float>);
PropertyValue<float> getRasterContrast() const;
void setRasterContrast(PropertyValue<float>);
PropertyValue<float> getRasterFadeDuration() const;
void setRasterFadeDuration(PropertyValue<float>);
// Private implementation
class Impl;
Impl* const impl;
RasterLayer(const Impl&);
RasterLayer(const RasterLayer&) = delete;
};
template <>
inline bool Layer::is<RasterLayer>() const {
return type == Type::Raster;
}
} // namespace style
} // namespace mbgl
|