fill()
Color / SettingDescription
Sets the color used to fill shapes.
Syntax
void fill(float gray)
void fill(float gray, float a)
void fill(float r, float g, float b)
void fill(float r, float g, float b, float a)
void fill(color c)
Parameters
| Name | Type | Description |
|---|---|---|
| gray | float | grayscale value |
| r | float | red component |
| g | float | green component |
| b | float | blue component |
| a | float | alpha (optional) |
| c | color | a color value |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...