blob: 8caade26b0f5b364cc5230a0ebc975affaf495ba (
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
|
// clang-format off
// 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/style/expression/formatted.hpp>
#include <mbgl/util/color.hpp>
namespace mbgl {
namespace style {
class TransitionOptions;
class BackgroundLayer : public Layer {
public:
BackgroundLayer(const std::string& layerID);
~BackgroundLayer() final;
// Dynamic properties
optional<conversion::Error> setLayoutProperty(const std::string& name, const conversion::Convertible& value) final;
optional<conversion::Error> setPaintProperty(const std::string& name, const conversion::Convertible& value) final;
LayerProperty getPaintProperty(const std::string& name) const final;
// Paint properties
static PropertyValue<Color> getDefaultBackgroundColor();
const PropertyValue<Color>& getBackgroundColor() const;
void setBackgroundColor(const PropertyValue<Color>&);
void setBackgroundColorTransition(const TransitionOptions&);
TransitionOptions getBackgroundColorTransition() const;
static PropertyValue<float> getDefaultBackgroundOpacity();
const PropertyValue<float>& getBackgroundOpacity() const;
void setBackgroundOpacity(const PropertyValue<float>&);
void setBackgroundOpacityTransition(const TransitionOptions&);
TransitionOptions getBackgroundOpacityTransition() const;
static PropertyValue<std::string> getDefaultBackgroundPattern();
const PropertyValue<std::string>& getBackgroundPattern() const;
void setBackgroundPattern(const PropertyValue<std::string>&);
void setBackgroundPatternTransition(const TransitionOptions&);
TransitionOptions getBackgroundPatternTransition() const;
// Private implementation
class Impl;
const Impl& impl() const;
Mutable<Impl> mutableImpl() const;
BackgroundLayer(Immutable<Impl>);
std::unique_ptr<Layer> cloneRef(const std::string& id) const final;
protected:
Mutable<Layer::Impl> mutableBaseImpl() const final;
};
} // namespace style
} // namespace mbgl
// clang-format on
|