aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/svgcircleelement/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/svgcircleelement/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/svgcircleelement/index.html')
-rw-r--r--files/zh-cn/web/api/svgcircleelement/index.html136
1 files changed, 136 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/svgcircleelement/index.html b/files/zh-cn/web/api/svgcircleelement/index.html
new file mode 100644
index 0000000000..e087961f10
--- /dev/null
+++ b/files/zh-cn/web/api/svgcircleelement/index.html
@@ -0,0 +1,136 @@
+---
+title: SVGCircleElement
+slug: Web/API/SVGCircleElement
+tags:
+ - API
+ - SVG
+ - SVG DOM
+ - WebAPI
+ - 参考
+ - 需要兼容性表
+ - 需要示例
+translation_of: Web/API/SVGCircleElement
+---
+<div>{{APIRef("SVG")}}</div>
+
+<h2 id="SVG_Circle_DOM_接口">SVG Circle DOM 接口</h2>
+
+<p><code>SVGCircleElement</code> 接口提供了对{{ SVGElement("circle") }}元素的属性的访问,而且还提供了操作该元素的方法。</p>
+
+<h3 id="接口概览">接口概览</h3>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="row">又作用于</th>
+ <td>{{ domxref("SVGElement") }}、 {{ domxref("SVGTests") }}、 {{ domxref("SVGLangSpace") }}、{{ domxref("SVGExternalResourcesRequired") }}、{{ domxref("SVGStylable") }}、 {{ domxref("SVGTransformable") }}</td>
+ </tr>
+ <tr>
+ <th scope="row">方法</th>
+ <td><em>无</em></td>
+ </tr>
+ <tr>
+ <th scope="row">属性</th>
+ <td>
+ <ul>
+ <li>只读 {{ domxref("SVGAnimatedLength") }} <code>cx</code></li>
+ <li>只读 {{ domxref("SVGAnimatedLength") }} <code>cy</code></li>
+ <li>只读 {{ domxref("SVGAnimatedLength") }} <code>r</code></li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <th scope="row">规范文档</th>
+ <td><a class="external" href="http://www.w3.org/TR/SVG11/shapes.html#InterfaceSVGCircleElement" title="http://www.w3.org/TR/SVG11/shapes.html#InterfaceSVGCircleElement">SVG 1.1 (2nd Edition)</a></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="属性">属性</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th>名称</th>
+ <th>类型</th>
+ <th>描述</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>cx</code></td>
+ <td>{{ domxref("SVGAnimatedLength") }}</td>
+ <td>对应于给定{{ SVGElement("circle") }}元素的{{ SVGAttr("cx") }}属性</td>
+ </tr>
+ <tr>
+ <td><code>cy</code></td>
+ <td>{{ domxref("SVGAnimatedLength") }}</td>
+ <td>对应于给定{{ SVGElement("circle") }}元素的{{ SVGAttr("cy") }}属性</td>
+ </tr>
+ <tr>
+ <td><code>r</code></td>
+ <td>{{ domxref("SVGAnimatedLength") }}</td>
+ <td>对应于给定{{ SVGElement("circle") }}元素的{{ SVGAttr("r") }}属性</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="方法">方法</h2>
+
+<p><font face="Open Sans, Arial, sans-serif">该</font><code>SVGCircleElement</code>接口没有提供任何专有方法。</p>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>9.0</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatNo() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ <td>{{ CompatVersionUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li>{{ SVGElement("circle") }} SVG Element</li>
+</ul>