Our volunteers haven't translated this article into Melayu yet. Join us and help get the job done!
SVG Circle DOM interface
The SVGCircleElement interface provides access to the properties of <circle> elements, as well as methods to manipulate them.
Interface overview
| Also implement | SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable |
|---|---|
| Methods | None |
| Properties |
|
| Normative document | SVG 1.1 (2nd Edition) |
Properties
| Name | Type | Description |
|---|---|---|
cx |
SVGAnimatedLength |
Corresponds to attribute cx on the given <circle> element. |
cy |
SVGAnimatedLength |
Corresponds to attribute cy on the given <circle> element. |
r |
SVGAnimatedLength |
Corresponds to attribute r on the given <circle> element. |
Methods
The SVGCircleElement interface do not provide any specific methods.
Browser compatibility
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | (Yes) | (Yes) | 9.0 | (Yes) | (Yes) |
| Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | Not supported | (Yes) | ? | (Yes) | (Yes) |
See also
<circle>SVG Element