sefofane
Fills the canvas with a background color.
Call sefofane 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”sefofane(mmala) | sefofane(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() {
sefofane(220);
}