// 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; // Dynamic properties optional setLayoutProperty(const std::string& name, const conversion::Convertible& value) final; optional setPaintProperty(const std::string& name, const conversion::Convertible& value) 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; protected: Mutable mutableBaseImpl() const final; }; } // namespace style class BackgroundLayerFactory : public LayerFactory { protected: const style::LayerTypeInfo* getTypeInfo() const noexcept final; std::unique_ptr createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept final; std::unique_ptr createRenderLayer(Immutable) noexcept final; }; } // namespace mbgl