Document overlayWith image density parameter #729

This commit is contained in:
Lovell Fuller
2017-03-10 22:59:46 +00:00
parent f1c4cef781
commit 701b1c4216
2 changed files with 2 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ const is = require('./is');
* @param {Number} [options.left] - the pixel offset from the left edge.
* @param {Boolean} [options.tile=false] - set to true to repeat the overlay image across the entire image with the given `gravity`.
* @param {Boolean} [options.cutout=false] - set to true to apply only the alpha channel of the overlay image to the input image, giving the appearance of one image being cut out of another.
* @param {Number} [options.density=72] - integral number representing the DPI for vector overlay image.
* @param {Object} [options.raw] - describes overlay when using raw pixel data.
* @param {Number} [options.raw.width]
* @param {Number} [options.raw.height]