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.
Syntax
Section titled “Syntax”tlatsaMmala(r, g, b)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
r | palo | Red component 0–255. |
g | palo | Green component 0–255. |
b | palo | Blue component 0–255. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
sefofane(220);
tlatsaMmala(255, 0, 0);
kgolokwe(200, 200, 100);
}