// 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; void setBackgroundColor(PropertyValue); void setBackgroundColorTransition(const TransitionOptions&); TransitionOptions getBackgroundColorTransition() const; static PropertyValue getDefaultBackgroundPattern(); PropertyValue getBackgroundPattern() const; void setBackgroundPattern(PropertyValue); void setBackgroundPatternTransition(const TransitionOptions&); TransitionOptions getBackgroundPatternTransition() const; static PropertyValue getDefaultBackgroundOpacity(); PropertyValue getBackgroundOpacity() const; void setBackgroundOpacity(PropertyValue); void setBackgroundOpacityTransition(const TransitionOptions&); TransitionOptions getBackgroundOpacityTransition() 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