blob: bba16d3839b0b22c8cf88f2314d98437162d2be0 (
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
|
// 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>
namespace mbgl {
class BackgroundLayer : public Layer {
public:
BackgroundLayer(const std::string& layerID);
~BackgroundLayer() final;
// Paint properties
PropertyValue<Color> getBackgroundColor() const;
void setBackgroundColor(PropertyValue<Color>);
PropertyValue<std::string> getBackgroundPattern() const;
void setBackgroundPattern(PropertyValue<std::string>);
PropertyValue<float> getBackgroundOpacity() const;
void setBackgroundOpacity(PropertyValue<float>);
// Private implementation
class Impl;
Impl* const impl;
BackgroundLayer(const Impl&);
BackgroundLayer(const BackgroundLayer&) = delete;
};
template <>
inline bool Layer::is<BackgroundLayer>() const {
return type == Type::Background;
}
} // namespace mbgl
|