SVGTextContentElement.h 503 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibWeb/SVG/SVGGraphicsElement.h>
  8. namespace Web::SVG {
  9. // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextContentElement
  10. class SVGTextContentElement : public SVGGraphicsElement {
  11. public:
  12. using WrapperType = Bindings::SVGTextContentElementWrapper;
  13. SVGTextContentElement(DOM::Document&, DOM::QualifiedName);
  14. int get_number_of_chars() const;
  15. };
  16. }