Quadrille.textColor
Defines the default text color used for drawing the quadrille cells. The default value is Quadrille.textColor, which is 'DodgerBlue'.
Example
Note
q1is drawn with a text color controlled by the local color picker (localPicker), initialized to'magenta'.q2,q3, andq4use the globalQuadrille.textColorset by the global color picker (globalPicker).
Syntax
drawQuadrille(quadrille, { textColor })
Parameters
| Param | Description |
|---|---|
textColor |
String | p5.Color: Specifies the color used for drawing the text. The default is Quadrille.textColor, which is 'DodgerBlue' |
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthtextColor- p5.js
createCanvasbackgroundvaluepositioninputcreateColorPicker
Names the analysis can prove are called, and the line each one is documented on. Local variables and members of an unknown receiver are left out.