bokamorago
Fills the canvas with a background color.
Call bokamorago at the start of tshwantsha (or in setaLoeto) to clear the canvas to a chosen color. Accepts a single grayscale value, or red/green/blue components.
Syntax
Section titled “Syntax”bokamorago(mmala) | bokamorago(r, g, b)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
mmala | palo | Grayscale value 0–255, or red component when used with g/b. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
}
tiro tshwantsha() {
bokamorago(220);
}