66 lines
2.0 KiB
C++
66 lines
2.0 KiB
C++
// 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 CircleLayer : public Layer {
|
|
public:
|
|
CircleLayer(const std::string& layerID, const std::string& sourceID);
|
|
~CircleLayer() final;
|
|
|
|
// Source
|
|
const std::string& getSourceID() const;
|
|
const std::string& getSourceLayer() const;
|
|
void setSourceLayer(const std::string& sourceLayer);
|
|
|
|
void setFilter(const Filter&);
|
|
const Filter& getFilter() const;
|
|
|
|
// Paint properties
|
|
|
|
PropertyValue<float> getCircleRadius() const;
|
|
void setCircleRadius(PropertyValue<float>, const optional<std::string>& klass = {});
|
|
|
|
PropertyValue<Color> getCircleColor() const;
|
|
void setCircleColor(PropertyValue<Color>, const optional<std::string>& klass = {});
|
|
|
|
PropertyValue<float> getCircleBlur() const;
|
|
void setCircleBlur(PropertyValue<float>, const optional<std::string>& klass = {});
|
|
|
|
PropertyValue<float> getCircleOpacity() const;
|
|
void setCircleOpacity(PropertyValue<float>, const optional<std::string>& klass = {});
|
|
|
|
PropertyValue<std::array<float, 2>> getCircleTranslate() const;
|
|
void setCircleTranslate(PropertyValue<std::array<float, 2>>, const optional<std::string>& klass = {});
|
|
|
|
PropertyValue<TranslateAnchorType> getCircleTranslateAnchor() const;
|
|
void setCircleTranslateAnchor(PropertyValue<TranslateAnchorType>, const optional<std::string>& klass = {});
|
|
|
|
PropertyValue<CirclePitchScaleType> getCirclePitchScale() const;
|
|
void setCirclePitchScale(PropertyValue<CirclePitchScaleType>, const optional<std::string>& klass = {});
|
|
|
|
// Private implementation
|
|
|
|
class Impl;
|
|
Impl* const impl;
|
|
|
|
CircleLayer(const Impl&);
|
|
CircleLayer(const CircleLayer&) = delete;
|
|
};
|
|
|
|
template <>
|
|
inline bool Layer::is<CircleLayer>() const {
|
|
return type == Type::Circle;
|
|
}
|
|
|
|
} // namespace style
|
|
} // namespace mbgl
|