SVGGraphicsElement
Интерфейс SVGGraphicsElement
представляет элементы SVG, основной целью которых является прямое отображение графики в группу.
Примечание: Этот интерфейс был введён в SVG 2 и заменяет интерфейсы SVGLocatable
и SVGTransformable
из SVG 1.1.
Свойства
Этот элемент наследует свойства от своего родителя, SVGElement
.
SVGGraphicsElement.transform
Только для чтения-
An
SVGAnimatedTransformList
reflecting the computed value of thetransform
property and its correspondingtransform
attribute of the given element.
Методы
Этот элемент наследует методы своего родителя, SVGElement
.
SVGGraphicsElement.getBBox()
-
Returns a
DOMRect
representing the computed bounding box of the current element. SVGGraphicsElement.getCTM()
-
Returns a
DOMMatrix
representing the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system. SVGGraphicsElement.getScreenCTM()
-
Returns a
DOMMatrix
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