Add comments to Path#strokeBounds and scafolding for #controlBounds too.

This commit is contained in:
Jürg Lehni 2011-03-03 10:55:35 +00:00
parent 91ec37de9c
commit 964dc462e9

View file

@ -509,10 +509,20 @@ Path = PathItem.extend({
return calculateBounds(this, false);
},
/**
* The bounding rectangle of the item including stroke width.
*/
getStrokeBounds: function() {
return calculateBounds(this, true);
},
/**
* The bounding rectangle of the item including handles.
*/
getControlBounds: function() {
// TODO: Implement!
},
smooth: function() {
var segments = this._segments;