Quadrille.outlineWeight
Defines the default outline weight (stroke thickness) for drawing the quadrille cells. The default value is Quadrille.outlineWeight, which is 2.
Example
Note
q1is drawn with an outline weight controlled by the local slider (localSlider).q2,q3, andq4use the globalQuadrille.outlineWeight, which can be adjusted by the global slider (globalSlider).
Syntax
drawQuadrille(quadrille, { outlineWeight })
Parameters
| Param | Description |
|---|---|
outlineWeight |
Number: Specifies the outline weight (stroke thickness). The default is Quadrille.outlineWeight, which is 2 |
What this page's examples use
- p5.quadrille
drawQuadrillecreateQuadrillecellLengthoutlineWeight- p5.js
createCanvasbackgroundvaluepositioninputcreateSlider
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.