/* * Copyright (c) 2020, Matthew Olsson * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::SVG { class SVGGraphicsElement : public SVGElement { public: using WrapperType = Bindings::SVGGraphicsElementWrapper; SVGGraphicsElement(DOM::Document&, QualifiedName); virtual void parse_attribute(const FlyString& name, const String& value) override; const Optional& fill_color() const { return m_fill_color; } const Optional& stroke_color() const { return m_stroke_color; } const Optional& stroke_width() const { return m_stroke_width; } protected: Optional m_fill_color; Optional m_stroke_color; Optional m_stroke_width; }; }