SVGCircle.js revision a75ebc38c1de401b679953a9b87bd323f0f48d02
/**
* <a href="http://www.w3.org/TR/SVG/">SVG</a> implementation of the <a href="Circle.html">`Circle`</a> class.
* `SVGCircle` is not intended to be used directly. Instead, use the <a href="Circle.html">`Circle`</a> class.
* If the browser has <a href="http://www.w3.org/TR/SVG/">SVG</a> capabilities, the <a href="Circle.html">`Circle`</a>
* class will point to the `SVGCircle` class.
*
* @module graphics
* @class SVGCircle
* @constructor
*/
{
};
/**
* Indicates the type of shape
*
* @property _type
* @readOnly
* @type String
*/
_type: "circle",
/**
* Updates the shape.
*
* @method _draw
* @private
*/
_draw: function()
{
x = this.get("x"),
y = this.get("y"),
this._fillChangeHandler();
this._strokeChangeHandler();
this._updateTransform();
}
});
/**
* Indicates the width of the shape
*
* @config width
* @type Number
*/
width: {
{
return val;
},
getter: function()
{
}
},
/**
* Indicates the height of the shape
*
* @config height
* @type Number
*/
height: {
{
return val;
},
getter: function()
{
}
},
/**
* Radius of the circle
*
* @config radius
* @type Number
*/
radius: {
value: 0
}
});