SVGCircleElement
        
        
          
                Baseline
                
                  Widely available
                
                
              
        
        
        
          
                
              
                
              
                
              
        
        
      
      This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
SVG Circle DOM 接口
SVGCircleElement 接口提供了对<circle>元素的属性的访问,而且还提供了操作该元素的方法。
接口概览
| 又作用于 | SVGElement、SVGTests、SVGLangSpace、SVGExternalResourcesRequired、SVGStylable、SVGTransformable | 
|---|---|
| 方法 | 无 | 
| 属性 | 
 | 
| 规范文档 | SVG 1.1 (2nd Edition) | 
属性
| 名称 | 类型 | 描述 | 
|---|---|---|
| cx | SVGAnimatedLength | 对应于给定 <circle>元素的cx属性 | 
| cy | SVGAnimatedLength | 对应于给定 <circle>元素的cy属性 | 
| r | SVGAnimatedLength | 对应于给定 <circle>元素的r属性 | 
方法
该SVGCircleElement接口没有提供任何专有方法。
规范
| Specification | 
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGCircleElement> | 
浏览器兼容性
Loading…
参见
- <circle>SVG Element