From d7ae6d62096628dba47423ebefc39a5c4a22a476 Mon Sep 17 00:00:00 2001 From: VaibhavOrbit Date: Mon, 15 Jun 2026 07:35:23 +0000 Subject: [PATCH] docs: remove unsupported background() overload --- src/color/setting.js | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/color/setting.js b/src/color/setting.js index 0e718879c7..bd47f66b5e 100644 --- a/src/color/setting.js +++ b/src/color/setting.js @@ -623,20 +623,11 @@ p5.prototype.clip = function(callback, options) { * */ -/** - * @method background - * @param {String} colorstring color string, possible formats include: integer - * rgb() or rgba(), percentage rgb() or rgba(), - * 3-digit hex, 6-digit hex. - * @param {Number} [a] opacity of the background relative to current - * color range (default is 0-255). - * @chainable - */ - /** * @method background * @param {Number} gray specifies a value between white and black. - * @param {Number} [a] + * @param {Number} [a] opacity of the background relative to current + * color range (default is 0-255). * @chainable */