thalaKhutlotharo
→ triangle()Draws a triangle defined by its three corner points.
thalaKhutlotharo(x1, y1, x2, y2, x3, y3)Provide the x and y of each of the three corners in order.
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);
bokamorago(220);
tlatsaMmala(0, 200, 0);
thalaKhutlotharo(200, 50, 50, 350, 350, 350);
}