diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
| commit | 074785cea106179cb3305637055ab0a009ca74f2 (patch) | |
| tree | e6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/ru/web/api/svggraphicselement | |
| parent | da78a9e329e272dedb2400b79a3bdeebff387d47 (diff) | |
| download | translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2 translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip | |
initial commit
Diffstat (limited to 'files/ru/web/api/svggraphicselement')
| -rw-r--r-- | files/ru/web/api/svggraphicselement/index.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/files/ru/web/api/svggraphicselement/index.html b/files/ru/web/api/svggraphicselement/index.html new file mode 100644 index 0000000000..86f9e76035 --- /dev/null +++ b/files/ru/web/api/svggraphicselement/index.html @@ -0,0 +1,62 @@ +--- +title: SVGGraphicsElement +slug: Web/API/SVGGraphicsElement +tags: + - API + - SVG +translation_of: Web/API/SVGGraphicsElement +--- +<div>{{APIRef("SVG")}}</div> + +<p>Интерфейс <strong><code>SVGGraphicsElement</code></strong> представляет элементы SVG, основной целью которых является прямое отображение графики в группу.</p> + +<p>{{InheritanceDiagram(600, 120)}}</p> + +<div class="note"> +<p><strong>Note:</strong> Этот интерфейс был введен в SVG 2 и заменяет интерфейсы {{domxref("SVGLocatable")}} и {{domxref("SVGTransformable")}} из SVG 1.1.</p> +</div> + +<h2 id="Свойства">Свойства</h2> + +<p><em>Этот элемент наследует свойства от своего родителя, {{domxref("SVGElement")}}.</em></p> + +<dl> + <dt>{{domxref("SVGGraphicsElement.transform")}} {{ReadOnlyInline}}</dt> + <dd>An {{domxref("SVGAnimatedTransformList")}} reflecting the computed value of the {{cssxref("transform")}} property and its corresponding {{SVGAttr("transform")}} attribute of the given element.</dd> +</dl> + +<h2 id="Методы">Методы</h2> + +<p><em>Этот элемент наследует методы своего родителя, {{domxref("SVGElement")}}.</em></p> + +<dl> + <dt>{{domxref("SVGGraphicsElement.getBBox()")}}</dt> + <dd>Returns a {{domxref("DOMRect")}} representing the computed bounding box of the current element.</dd> + <dt>{{domxref("SVGGraphicsElement.getCTM()")}}</dt> + <dd>Returns a {{domxref("DOMMatrix")}} representing the matrix that transforms the current element's coordinate system to its SVG viewport's coordinate system.</dd> + <dt>{{domxref("SVGGraphicsElement.getScreenCTM()")}}</dt> + <dd>Returns a {{domxref("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.</dd> +</dl> + +<h2 id="Спецификации">Спецификации</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Спецификация</th> + <th scope="col">Статус</th> + <th scope="col">Комментарий</th> + </tr> + <tr> + <td>{{SpecName("SVG2", "types.html#InterfaceSVGGraphicsElement", "SVGGraphicsElement")}}</td> + <td>{{Spec2("SVG2")}}</td> + <td>Initial definition</td> + </tr> + </tbody> +</table> + +<h2 id="Поддержка_браузерами">Поддержка браузерами</h2> + + + +<p>{{Compat("api.SVGGraphicsElement")}}</p> |
