From d8651bd2683955fedb6fb3d02e3cf60bc507b218 Mon Sep 17 00:00:00 2001 From: YSH Date: Tue, 11 Feb 2020 11:30:37 -0800 Subject: [PATCH] 1540 Update documentation with correct terminology --- src/tiledimage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index 0b1e0994..04b0ff00 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -677,7 +677,7 @@ $.extend($.TiledImage.prototype, $.EventSource.prototype, /** @lends OpenSeadrag /** * Sets an array of polygons to crop the TiledImage during draw tiles. * The render function will use the default non-zero winding rule. - * @param Polygons represented in an array of point object in pixels. + * @param Polygons represented in an array of point object in image coordinates. * Example format: [ * [{x: 197, y:172}, {x: 226, y:172}, {x: 226, y:198}, {x: 197, y:198}], // First polygon * [{x: 328, y:200}, {x: 330, y:199}, {x: 332, y:201}, {x: 329, y:202}] // Second polygon