processing / p5.js-website

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

Reference for 'fill' #616

Open Jan1958x opened 1 week ago

Jan1958x commented 1 week 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 1 week ago

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

Garima3110 commented 1 week ago

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

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