VMLEllipse.js revision 9eaaa502227248d304ac9170902697d02158c1d9
/**
* Draws an ellipse
*/
VMLEllipse = function()
{
};
/**
* Indicates the type of shape
*
* @property _type
* @readOnly
* @type String
*/
_type: "oval"
});
/**
* Horizontal radius for the ellipse.
*
* @attribute xRadius
* @type Number
*/
xRadius: {
lazyAdd: false,
getter: function()
{
return val;
},
{
var w = val * 2;
this.set("width", w);
return val;
}
},
/**
* Vertical radius for the ellipse.
*
* @attribute yRadius
* @type Number
*/
yRadius: {
lazyAdd: false,
getter: function()
{
return val;
},
{
var h = val * 2;
this.set("height", h);
return val;
}
}
});
Y.VMLEllipse = VMLEllipse;