khutloTharo
Draws a triangle defined by its three corner points.
Provide the x and y of each of the three corners in order.
Syntax
Section titled “Syntax”khutloTharo(x1, y1, x2, y2, x3, y3)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x1 | palo | First corner x. |
y1 | palo | First corner y. |
x2 | palo | Second corner x. |
y2 | palo | Second corner y. |
x3 | palo | Third corner x. |
y3 | palo | Third corner y. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
sefofane(220);
tlatsaMmala(0, 200, 0);
khutloTharo(200, 50, 50, 350, 350, 350);
}