SVGGraphicsElement

Интерфейс SVGGraphicsElement представляет элементы SVG, основной целью которых является прямое отображение графики в группу.

Примечание: Этот интерфейс был введён в SVG 2 и заменяет интерфейсы SVGLocatable и SVGTransformable из SVG 1.1.

Свойства

Этот элемент наследует свойства от своего родителя, SVGElement (en-US).

SVGGraphicsElement.transform Только для чтения

An SVGAnimatedTransformList (en-US) reflecting the computed value of the transform property and its corresponding transform attribute of the given element.

Методы

Этот элемент наследует методы своего родителя, SVGElement (en-US).

SVGGraphicsElement.getBBox() (en-US)

Returns a DOMRect (en-US) representing the computed bounding box of the current element.

SVGGraphicsElement.getCTM()

Returns a DOMMatrix (en-US) representing the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.

SVGGraphicsElement.getScreenCTM()

Returns a DOMMatrix (en-US) representing the matrix that transforms the current element's coordinate system to the coordinate system of the SVG viewport for the SVG document fragment.

Спецификации

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGGraphicsElement

Совместимость с браузерами

BCD tables only load in the browser