VMLEllipse.js revision c093c1aed867e18aa4778708592e1ceb45d18cff
/**
* Draws an ellipse
*
* @module graphics
* @class VMLEllipse
* @constructor
*/
VMLEllipse = function()
{
};
/**
* Indicates the type of shape
*
* @property _type
* @readOnly
* @type String
*/
_type: "oval"
});
/**
* Horizontal radius for the ellipse.
*
* @config 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.
*
* @config yRadius
* @type Number
*/
yRadius: {
lazyAdd: false,
getter: function()
{
return val;
},
{
var h = val * 2;
this.set("height", h);
return val;
}
}
});
Y.VMLEllipse = VMLEllipse;