blob: a14bf4a3906b8f3c58bff49a63452d4b233495cb (
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
66
|
// 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 FillLayer : public Layer {
public:
FillLayer(const std::string& layerID);
~FillLayer() final;
// Source
void setSource(const std::string& sourceID, const std::string& sourceLayer);
const std::string& getSourceID() const;
const std::string& getSourceLayer() const;
void setFilter(const Filter&);
const Filter& getFilter() const;
// Paint properties
PropertyValue<bool> getFillAntialias() const;
void setFillAntialias(PropertyValue<bool>);
PropertyValue<float> getFillOpacity() const;
void setFillOpacity(PropertyValue<float>);
PropertyValue<Color> getFillColor() const;
void setFillColor(PropertyValue<Color>);
PropertyValue<Color> getFillOutlineColor() const;
void setFillOutlineColor(PropertyValue<Color>);
PropertyValue<std::array<float, 2>> getFillTranslate() const;
void setFillTranslate(PropertyValue<std::array<float, 2>>);
PropertyValue<TranslateAnchorType> getFillTranslateAnchor() const;
void setFillTranslateAnchor(PropertyValue<TranslateAnchorType>);
PropertyValue<std::string> getFillPattern() const;
void setFillPattern(PropertyValue<std::string>);
// Private implementation
class Impl;
Impl* const impl;
FillLayer(const Impl&);
FillLayer(const FillLayer&) = delete;
};
template <>
inline bool Layer::is<FillLayer>() const {
return type == Type::Fill;
}
} // namespace style
} // namespace mbgl
|