From ad8dfe91c7e885a24a2331c0023215f1dd93ced4 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 28 Apr 2011 12:56:08 +0200 Subject: [PATCH] Implement Raster#getStrokeBounds(). --- src/item/Raster.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/item/Raster.js b/src/item/Raster.js index 4c230884..c85b4ee9 100644 --- a/src/item/Raster.js +++ b/src/item/Raster.js @@ -198,6 +198,10 @@ var Raster = this.Raster = Item.extend({ } return this._bounds; }, + + getStrokeBounds: function() { + return this.getBounds(); + }, draw: function(ctx, param) { if (param.selection) {