// This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include #include namespace mbgl { namespace style { FillLayer::FillLayer(const std::string& layerID, const std::string& sourceID) : Layer(Type::Fill, std::make_unique()) , impl(static_cast(baseImpl.get())) { impl->id = layerID; impl->source = sourceID; } FillLayer::FillLayer(const Impl& other) : Layer(Type::Fill, std::make_unique(other)) , impl(static_cast(baseImpl.get())) { } FillLayer::~FillLayer() = default; std::unique_ptr FillLayer::Impl::clone() const { return std::make_unique(*this); } std::unique_ptr FillLayer::Impl::cloneRef(const std::string& id_) const { auto result = std::make_unique(*this); result->impl->id = id_; result->impl->ref = this->id; result->impl->paint = FillPaintProperties(); return std::move(result); } // Source const std::string& FillLayer::getSourceID() const { return impl->source; } void FillLayer::setSourceLayer(const std::string& sourceLayer) { impl->sourceLayer = sourceLayer; } const std::string& FillLayer::getSourceLayer() const { return impl->sourceLayer; } // Filter void FillLayer::setFilter(const Filter& filter) { impl->filter = filter; } const Filter& FillLayer::getFilter() const { return impl->filter; } // Layout properties // Paint properties PropertyValue FillLayer::getFillAntialias() const { return impl->paint.fillAntialias.get(); } void FillLayer::setFillAntialias(PropertyValue value, const optional& klass) { impl->paint.fillAntialias.set(value, klass); } PropertyValue FillLayer::getFillOpacity() const { return impl->paint.fillOpacity.get(); } void FillLayer::setFillOpacity(PropertyValue value, const optional& klass) { impl->paint.fillOpacity.set(value, klass); } PropertyValue FillLayer::getFillColor() const { return impl->paint.fillColor.get(); } void FillLayer::setFillColor(PropertyValue value, const optional& klass) { impl->paint.fillColor.set(value, klass); } PropertyValue FillLayer::getFillOutlineColor() const { return impl->paint.fillOutlineColor.get(); } void FillLayer::setFillOutlineColor(PropertyValue value, const optional& klass) { impl->paint.fillOutlineColor.set(value, klass); } PropertyValue> FillLayer::getFillTranslate() const { return impl->paint.fillTranslate.get(); } void FillLayer::setFillTranslate(PropertyValue> value, const optional& klass) { impl->paint.fillTranslate.set(value, klass); } PropertyValue FillLayer::getFillTranslateAnchor() const { return impl->paint.fillTranslateAnchor.get(); } void FillLayer::setFillTranslateAnchor(PropertyValue value, const optional& klass) { impl->paint.fillTranslateAnchor.set(value, klass); } PropertyValue FillLayer::getFillPattern() const { return impl->paint.fillPattern.get(); } void FillLayer::setFillPattern(PropertyValue value, const optional& klass) { impl->paint.fillPattern.set(value, klass); } } // namespace style } // namespace mbgl