Skip to content

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.

bokamorago(mmala) | bokamorago(r, g, b)
NameTypeDescription
mmalapaloGrayscale value 0–255, or red component when used with g/b.
Light grey background
tiro setaLoeto() {
  thalaKanefase(400, 400);
}
tiro tshwantsha() {
  bokamorago(220);
}

tlatsaMmala, mothaloMmala