processing / p5.js-website

New p5.js website!
http://p5js.org
MIT License
18 stars 92 forks source link

Reference for 'fill' #616

Closed Jan1958x closed 2 weeks ago

Jan1958x commented 4 weeks ago

Topic

In the reference for 'fill' I am missing the description for 'alpha' including the range applicable for alpha. Should this be added to the documentation of the reference?

limzykenneth commented 4 weeks ago

@nickmcintyre I think the description for the alpha parameter should be added on this line?

Garima3110 commented 4 weeks ago

@limzykenneth I agree maybe we can have something like this here,

@param  {Number}   [alpha] optional alpha value, controls transparency (0 - transparent, 255 - opaque)