// This file is generated. Do not edit. #pragma once #include #include #include #include #include namespace mbgl { namespace style { class TransitionOptions; class BackgroundLayer : public Layer { public: BackgroundLayer(const std::string& layerID); ~BackgroundLayer() final; // Paint properties static PropertyValue getDefaultBackgroundColor(); PropertyValue getBackgroundColor(const optional& klass = {}) const; void setBackgroundColor(PropertyValue, const optional& klass = {}); void setBackgroundColorTransition(const TransitionOptions&, const optional& klass = {}); TransitionOptions getBackgroundColorTransition(const optional& klass = {}) const; static PropertyValue getDefaultBackgroundPattern(); PropertyValue getBackgroundPattern(const optional& klass = {}) const; void setBackgroundPattern(PropertyValue, const optional& klass = {}); void setBackgroundPatternTransition(const TransitionOptions&, const optional& klass = {}); TransitionOptions getBackgroundPatternTransition(const optional& klass = {}) const; static PropertyValue getDefaultBackgroundOpacity(); PropertyValue getBackgroundOpacity(const optional& klass = {}) const; void setBackgroundOpacity(PropertyValue, const optional& klass = {}); void setBackgroundOpacityTransition(const TransitionOptions&, const optional& klass = {}); TransitionOptions getBackgroundOpacityTransition(const optional& klass = {}) const; // Private implementation class Impl; Impl* const impl; BackgroundLayer(const Impl&); BackgroundLayer(const BackgroundLayer&) = delete; }; template <> inline bool Layer::is() const { return type == LayerType::Background; } } // namespace style } // namespace mbgl