/* * Copyright (c) 2020, Matthew Olsson * Copyright (c) 2021-2022, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::SVG { class SVGGraphicsElement : public SVGElement { WEB_PLATFORM_OBJECT(SVGGraphicsElement, SVGElement); public: virtual void apply_presentational_hints(CSS::StyleProperties&) const override; Optional fill_color() const; Optional stroke_color() const; Optional stroke_width() const; protected: SVGGraphicsElement(DOM::Document&, DOM::QualifiedName); virtual void initialize(JS::Realm&) override; }; }