blob: dc0752f9e2e967ceda5d00b3bf9de5151f797561 (
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
|
// This file is generated. Do not edit.
#pragma once
#include <mbgl/style/layer.hpp>
namespace mbgl {
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;
// Paint properties
Function<bool> getFillAntialias() const;
void setFillAntialias(Function<bool>);
Function<float> getFillOpacity() const;
void setFillOpacity(Function<float>);
Function<Color> getFillColor() const;
void setFillColor(Function<Color>);
Function<Color> getFillOutlineColor() const;
void setFillOutlineColor(Function<Color>);
Function<std::array<float, 2>> getFillTranslate() const;
void setFillTranslate(Function<std::array<float, 2>>);
Function<TranslateAnchorType> getFillTranslateAnchor() const;
void setFillTranslateAnchor(Function<TranslateAnchorType>);
Function<std::string> getFillPattern() const;
void setFillPattern(Function<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 mbgl
|