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
|
// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#pragma once
#include <mbgl/style/types.hpp>
#include <mbgl/style/layout_property.hpp>
#include <mbgl/style/paint_property.hpp>
namespace mbgl {
namespace style {
struct CircleRadius : PaintProperty<float> {
static float defaultValue() { return 5; }
};
struct CircleColor : PaintProperty<Color> {
static Color defaultValue() { return Color::black(); }
};
struct CircleBlur : PaintProperty<float> {
static float defaultValue() { return 0; }
};
struct CircleOpacity : PaintProperty<float> {
static float defaultValue() { return 1; }
};
struct CircleTranslate : PaintProperty<std::array<float, 2>> {
static std::array<float, 2> defaultValue() { return {{ 0, 0 }}; }
};
struct CircleTranslateAnchor : PaintProperty<TranslateAnchorType> {
static TranslateAnchorType defaultValue() { return TranslateAnchorType::Map; }
};
struct CirclePitchScale : PaintProperty<CirclePitchScaleType> {
static CirclePitchScaleType defaultValue() { return CirclePitchScaleType::Map; }
};
struct CircleStrokeWidth : PaintProperty<float> {
static float defaultValue() { return 0; }
};
struct CircleStrokeColor : PaintProperty<Color> {
static Color defaultValue() { return Color::black(); }
};
struct CircleStrokeOpacity : PaintProperty<float> {
static float defaultValue() { return 1; }
};
class CirclePaintProperties : public PaintProperties<
CircleRadius,
CircleColor,
CircleBlur,
CircleOpacity,
CircleTranslate,
CircleTranslateAnchor,
CirclePitchScale,
CircleStrokeWidth,
CircleStrokeColor,
CircleStrokeOpacity
> {};
} // namespace style
} // namespace mbgl
|