W3cubDocs

/Haxe JavaScript

CircleElement

package js.html.svg

extends GeometryElementGraphicsElementElementDOMElementNodeEventTarget

Available on js

The SVGCircleElement interface is an interface for the circle element. The circle element is defined by the cx and cy attributes that denote the coordinates of the centre of the circle.

Documentation SVGCircleElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

read onlycx:AnimatedLength

This property defines the x-coordinate of the center of the circle element. It is denoted by the cx attribute of the circle element. If unspecified, the value of this attribute is assumed to be 0.

It can be animated by SVG's animation elements.

read onlycy:AnimatedLength

This property defines the y-coordinate of the center of the circle element. It is denoted by the cy attribute of the circle element. If unspecified, the value of this attribute is assumed to be 0.

It can be animated by SVG's animation elements.

read onlyr:AnimatedLength

This property defines the radius of the circle element. It is denoted by the r of the circle element. A negative value gives an error, while 0 disables the rendering of the element.

It can be animated by SVG's animation elements.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/CircleElement.html