Files
MapLibreParticleLab/include/mbgl/layer/background_layer.hpp
2016-06-02 14:51:39 -07:00

42 lines
950 B
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>
namespace mbgl {
class BackgroundLayer : public Layer {
public:
BackgroundLayer(const std::string& layerID);
~BackgroundLayer() final;
// Paint properties
PropertyValue<Color> getBackgroundColor() const;
void setBackgroundColor(PropertyValue<Color>);
PropertyValue<std::string> getBackgroundPattern() const;
void setBackgroundPattern(PropertyValue<std::string>);
PropertyValue<float> getBackgroundOpacity() const;
void setBackgroundOpacity(PropertyValue<float>);
// Private implementation
class Impl;
Impl* const impl;
BackgroundLayer(const Impl&);
BackgroundLayer(const BackgroundLayer&) = delete;
};
template <>
inline bool Layer::is<BackgroundLayer>() const {
return type == Type::Background;
}
} // namespace mbgl