SETSWANA TRANSLATION: Skip to content

tlatsaMmala

SETSWANA TRANSLATION: Sets the fill color used by all subsequent shapes.

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

SETSWANA TRANSLATION: tlatsaMmala(r, g, b)
SETSWANA TRANSLATION: NameSETSWANA TRANSLATION: TypeSETSWANA TRANSLATION: Description
rpaloSETSWANA TRANSLATION: Red component 0–255.
gpaloSETSWANA TRANSLATION: Green component 0–255.
bpaloSETSWANA TRANSLATION: Blue component 0–255.
SETSWANA TRANSLATION: A red filled circle
tiro setaLoeto() {
  thalaKanefase(400, 400);
  sefofane(220);
  tlatsaMmala(255, 0, 0);
  kgolokwe(200, 200, 100);
}

tlogelaGoTlatsa, mothaloMmala