SvgDocument

final class \TYPO3\CMS\Core\Imaging\Svg\SvgDocument

Extends
DOMDocument

A parsed SVG document.

This is intentionally an otherwise empty subclass of DOMDocument. It exists only to give SVG handling its own dedicated, type-hintable type while inheriting the full DOM API for traversal and serialization.

Obtain instances via SvgDocumentFactory. Resolve dimensions, serialize and crop them via SvgDocumentService.

Table of Contents

On this page
  • Table Of Contents