mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
doc : Updated JS Doc for ImageResizer
This commit is contained in:
parent
9ae01cb074
commit
4b0b1a4bad
@ -29,6 +29,7 @@
|
|||||||
* @param {Canvas2d} source original image to be resized, as a 2d canvas
|
* @param {Canvas2d} source original image to be resized, as a 2d canvas
|
||||||
* @param {Number} zoom ratio between desired dim / source dim
|
* @param {Number} zoom ratio between desired dim / source dim
|
||||||
* @param {Number} margin gap to be displayed between pixels
|
* @param {Number} margin gap to be displayed between pixels
|
||||||
|
* @param {String} color or the margin (will be transparent if not provided)
|
||||||
* @return {Canvas2d} the resized canvas
|
* @return {Canvas2d} the resized canvas
|
||||||
*/
|
*/
|
||||||
resizeNearestNeighbour : function (source, zoom, margin, marginColor) {
|
resizeNearestNeighbour : function (source, zoom, margin, marginColor) {
|
||||||
|
Loading…
Reference in New Issue
Block a user