/* * Copyright (c) 2020, Matthew Olsson * Copyright (c) 2021, Sam Atkins * * 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(FlyString const& name, String const& value) override; Optional fill_color() const; Optional stroke_color() const; Optional stroke_width() const; protected: Optional m_fill_color; Optional m_stroke_color; Optional m_stroke_width; }; }