From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/svgcircleelement/index.html | 136 ++++++++++++++++++++++++ 1 file changed, 136 insertions(+) create mode 100644 files/zh-cn/web/api/svgcircleelement/index.html (limited to 'files/zh-cn/web/api/svgcircleelement/index.html') 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 +--- +
{{APIRef("SVG")}}
+ +

SVG Circle DOM 接口

+ +

SVGCircleElement 接口提供了对{{ SVGElement("circle") }}元素的属性的访问,而且还提供了操作该元素的方法。

+ +

接口概览

+ + + + + + + + + + + + + + + + + + + + +
又作用于{{ domxref("SVGElement") }}、 {{ domxref("SVGTests") }}、 {{ domxref("SVGLangSpace") }}、{{ domxref("SVGExternalResourcesRequired") }}、{{ domxref("SVGStylable") }}、 {{ domxref("SVGTransformable") }}
方法
属性 +
    +
  • 只读 {{ domxref("SVGAnimatedLength") }} cx
  • +
  • 只读 {{ domxref("SVGAnimatedLength") }} cy
  • +
  • 只读 {{ domxref("SVGAnimatedLength") }} r
  • +
+
规范文档SVG 1.1 (2nd Edition)
+ +

属性

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
名称类型描述
cx{{ domxref("SVGAnimatedLength") }}对应于给定{{ SVGElement("circle") }}元素的{{ SVGAttr("cx") }}属性
cy{{ domxref("SVGAnimatedLength") }}对应于给定{{ SVGElement("circle") }}元素的{{ SVGAttr("cy") }}属性
r{{ domxref("SVGAnimatedLength") }}对应于给定{{ SVGElement("circle") }}元素的{{ SVGAttr("r") }}属性
+ +

方法

+ +

SVGCircleElement接口没有提供任何专有方法。

+ +

浏览器兼容性

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}9.0{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatNo() }}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
+
+ +

参见

+ + -- cgit v1.2.3-54-g00ecf