From f576ec797bc9000ff44d81c21fb1070dc8699c42 Mon Sep 17 00:00:00 2001 From: kangax Date: Sat, 20 Oct 2012 20:12:28 +0200 Subject: [PATCH] Documentation additions. --- src/canvas.class.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/canvas.class.js b/src/canvas.class.js index ca9ca152..a914fdd3 100644 --- a/src/canvas.class.js +++ b/src/canvas.class.js @@ -134,10 +134,24 @@ */ containerClass: 'canvas-container', + /** + * When true, object detection happens on per-pixel basis rather than on per-bounding-box + * @property + * @type Boolean + */ perPixelTargetFind: false, + /** + * Number of pixels around target pixel to tolerate (consider active) during object detection + * @property + * @type Number + */ targetFindTolerance: 0, + /** + * @method _initInteractive + * @private + */ _initInteractive: function() { this._currentTransform = null; this._groupSelector = null;