Skip to content

tlatsaMmala

Sets the fill color used by all subsequent shapes.

Once you call tlatsaMmala, every shape drawn afterward will be filled with that color until you change it again or call tlogelaGoTlatsa.

tlatsaMmala(r, g, b)
NameTypeDescription
rpaloRed component 0–255.
gpaloGreen component 0–255.
bpaloBlue component 0–255.
A red filled circle
tiro setaLoeto() {
  thalaKanefase(400, 400);
  sefofane(220);
  tlatsaMmala(255, 0, 0);
  kgolokwe(200, 200, 100);
}

tlogelaGoTlatsa, mothaloMmala