From 964dc462e9c34126b409bdfa0b67bac9ee549990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 3 Mar 2011 10:55:35 +0000 Subject: [PATCH] Add comments to Path#strokeBounds and scafolding for #controlBounds too. --- src/path/Path.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/path/Path.js b/src/path/Path.js index cd78bca6..9deafc84 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -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;