Skip to content

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.

sefofane(mmala) | sefofane(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() {
  sefofane(220);
}

tlatsaMmala, mothaloMmala