// 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; // Visibility void setVisibility(VisibilityType) final; // Zoom range void setMinZoom(float) final; void setMaxZoom(float) 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; const Impl& impl() const; Mutable mutableImpl() const; BackgroundLayer(Immutable); std::unique_ptr cloneRef(const std::string& id) const final; }; template <> inline bool Layer::is() const { return getType() == LayerType::Background; } } // namespace style } // namespace mbgl