blob: 5e388a7928481f43e72062ad868d86ee1b06673e (
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
|
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once
#include <mbgl/style/layout_property.hpp>
#include <mbgl/style/paint_property.hpp>
#include <mbgl/util/rapidjson.hpp>
namespace mbgl {
class StyleCascadeParameters;
class StyleCalculationParameters;
class BackgroundPaintProperties {
public:
void parse(const JSValue&);
void cascade(const StyleCascadeParameters&);
bool recalculate(const StyleCalculationParameters&);
PaintProperty<Color> backgroundColor { {{ 0, 0, 0, 1 }} };
PaintProperty<std::string, CrossFadedFunctionEvaluator> backgroundPattern { "" };
PaintProperty<float> backgroundOpacity { 1 };
};
} // namespace mbgl
|