Circle API

jsav.g.circle(cx, cy, r[, properties])

Initializes a new circle with the given center and radius. Optional parameter properties,if given, should be an object with key-value pairs. See raphael.attr for valid keys and values.

.center([cx, cy])

Gets or sets the center of the circle. The center is returned as an object with properties cx and cy.

.radius([r])

Gets or sets the radius of the circle.

Example