Skip to content

Commit

Permalink
Merge pull request #7362 from asukaminato0721/patch-1
Browse files Browse the repository at this point in the history
fix add alpha doc
  • Loading branch information
davepagurek authored Nov 8, 2024
2 parents 5526350 + 2ee8437 commit 3e0e22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/color/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ p5.prototype.colorMode = function(mode, max1, max2, max3, maxA) {
* @param {Number} v1 red value if color mode is RGB or hue value if color mode is HSB.
* @param {Number} v2 green value if color mode is RGB or saturation value if color mode is HSB.
* @param {Number} v3 blue value if color mode is RGB or brightness value if color mode is HSB.
* @param {Number} [alpha]
* @param {Number} [alpha] optional alpha value, controls transparency (0 - transparent, 255 - opaque).
* @chainable
* @example
* <div>
Expand Down

0 comments on commit 3e0e22d

Please sign in to comment.