From 1df8d82fe080ad49ccae29579f0c4f2f58acb035 Mon Sep 17 00:00:00 2001 From: Maxime BACONNAIS Date: Sat, 19 Jan 2019 15:19:41 +0100 Subject: [PATCH] Docs: overlay parameter of overlayWith is optional (#1547) --- docs/api-composite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-composite.md b/docs/api-composite.md index 121d98de0..d9c99eedd 100644 --- a/docs/api-composite.md +++ b/docs/api-composite.md @@ -11,7 +11,7 @@ If the overlay image contains an alpha channel then composition with premultipli ### Parameters -- `overlay` **([Buffer][1] \| [String][2])** Buffer containing image data or String containing the path to an image file. +- `overlay` **([Buffer][1] \| [String][2])?** Buffer containing image data or String containing the path to an image file. - `options` **[Object][3]?** - `options.gravity` **[String][2]** gravity at which to place the overlay. (optional, default `'centre'`) - `options.top` **[Number][4]?** the pixel offset from the top edge.