SVGCircleElement in SVG 1.1
Show inherited properties/methods?
Instance Methods
name
returns
description
addEventListener(type,listener,useCapture )
(none)
[from EventTarget ]
appendChild(newChild )
Node
[from Node ]
cloneNode(deep )
Node
Return a new copy of the node.
[from Node ]
dispatchEvent(evt )
Boolean
Dispatches an event to the invoking object.
[from EventTarget ]
getAttribute(name )
String
[from Element ]
getAttributeNode(name )
Attr
[from Element ]
getAttributeNodeNS(namespaceURI,localName )
Attr
[from Element ]
getAttributeNS(namespaceURI,localName )
String
[from Element ]
getBBox( )
SVGRect
Get the bounding box of the element.
[from SVGLocatable ]
getCTM( )
SVGMatrix
Return the C urrent T ransformation M atrix for the element.
[from SVGLocatable ]
getElementsByTagName(name )
NodeList
[from Element ]
getElementsByTagNameNS(namespaceURI,localName )
NodeList
[from Element ]
getPresentationAttribute(name )
CSSValue
[from SVGStylable ]
getScreenCTM( )
SVGMatrix
[from SVGLocatable ]
getTransformToElement(element )
SVGMatrix
[from SVGLocatable ]
hasAttribute(name )
Boolean
[from Element ]
hasAttributeNS(namespaceURI,localName )
Boolean
[from Element ]
hasAttributes( )
Boolean
[from Node ]
hasChildNodes( )
Boolean
[from Node ]
hasExtension(extension )
Boolean
[from SVGTests ]
insertBefore(newChild,refChild )
Node
[from Node ]
isSupported(feature,version )
Boolean
[from Node ]
normalize( )
(none)
[from Node ]
removeAttribute(name )
(none)
[from Element ]
removeAttributeNode(oldAttr )
Attr
[from Element ]
removeAttributeNS(namespaceURI,localName )
(none)
[from Element ]
removeChild(oldChild )
Node
[from Node ]
removeEventListener(type,listener,useCapture )
(none)
[from EventTarget ]
replaceChild(newChild,oldChild )
Node
[from Node ]
setAttribute(name,value )
(none)
[from Element ]
setAttributeNode(newAttr )
Attr
[from Element ]
setAttributeNodeNS(newAttr )
Attr
[from Element ]
setAttributeNS(namespaceURI,qualifiedName,value )
(none)
[from Element ]
Description
The circle element defines a circle based on a center point and a radius. The properties specific to this object (
cx
,
cy
, and
r
) are
SVGAnimatedLength objects; you cannot read them or set them directly. For UAs that support these properties, the correct property to access the non-animated value would be via
mySVGCircleElement.cx.baseVal.value
.
For browsers which don't support these properties directly, you may still be able to access the current value using something like
mySVGCircleElement.getAttribute('cx')
.