SVGPath.js revision 04f886d0ad2a12c3c0e4ec29a1c42e8732e9327f
/**
* <a href="http://www.w3.org/TR/SVG/">SVG</a> implementation of the <a href="Path.html">`Path`</a> class.
* `SVGPath` is not intended to be used directly. Instead, use the <a href="Path.html">`Path`</a> class.
* If the browser has <a href="http://www.w3.org/TR/SVG/">SVG</a> capabilities, the <a href="Path.html">`Path`</a>
* class will point to the `SVGPath` class.
*
* @module graphics
* @class SVGPath
* @extends SVGShape
* @constructor
*/
{
};
/**
* Left edge of the path
*
* @property _left
* @type Number
* @private
*/
_left: 0,
/**
* Right edge of the path
*
* @property _right
* @type Number
* @private
*/
_right: 0,
/**
* Top edge of the path
*
* @property _top
* @type Number
* @private
*/
_top: 0,
/**
* Bottom edge of the path
*
* @property _bottom
* @type Number
* @private
*/
_bottom: 0,
/**
* Indicates the type of shape
*
* @property _type
* @readOnly
* @type String
* @private
*/
_type: "path",
/**
* Storage for path
*
* @property _path
* @type String
* @private
*/
_path: ""
});
/**
* Indicates the path used for the node.
*
* @config path
* @type String
* @readOnly
*/
path: {
readOnly: true,
getter: function()
{
return this._path;
}
},
/**
* Indicates the width of the shape
*
* @config width
* @type Number
*/
width: {
getter: function()
{
return val;
}
},
/**
* Indicates the height of the shape
*
* @config height
* @type Number
*/
height: {
getter: function()
{
}
}
});