--- title: SVGCircleElement slug: Web/API/SVGCircleElement tags: - API - SVG - SVG DOM - WebAPI - 参考 - 需要兼容性表 - 需要示例 translation_of: Web/API/SVGCircleElement ---
SVGCircleElement
接口提供了对{{ SVGElement("circle") }}元素的属性的访问,而且还提供了操作该元素的方法。
又作用于 | {{ domxref("SVGElement") }}、 {{ domxref("SVGTests") }}、 {{ domxref("SVGLangSpace") }}、{{ domxref("SVGExternalResourcesRequired") }}、{{ domxref("SVGStylable") }}、 {{ domxref("SVGTransformable") }} |
---|---|
方法 | 无 |
属性 |
|
规范文档 | 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
接口没有提供任何专有方法。