SVGGraphicsElement
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since июль 2015 г..
Интерфейс SVGGraphicsElement представляет элементы SVG, основной целью которых является прямое отображение графики в группу.
Примечание:
Этот интерфейс был введён в SVG 2 и заменяет интерфейсы SVGLocatable и SVGTransformable из SVG 1.1.
Свойства
Этот элемент наследует свойства от своего родителя, SVGElement.
SVGGraphicsElement.transformТолько для чтения-
An
SVGAnimatedTransformListreflecting the computed value of thetransformproperty and its correspondingtransformattribute of the given element.
Методы
Этот элемент наследует методы своего родителя, SVGElement.
SVGGraphicsElement.getBBox()-
Returns a
DOMRectrepresenting the computed bounding box of the current element. SVGGraphicsElement.getCTM()-
Returns a
DOMMatrixrepresenting the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system. SVGGraphicsElement.getScreenCTM()-
Returns a
DOMMatrixrepresenting 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> |
Совместимость с браузерами
Loading…