thalaMothalo
Draws a straight line between two points.
The first two arguments are the start point, the next two are the end point. The line uses the current stroke color and weight.
Syntax
Section titled “Syntax”thalaMothalo(x1, y1, x2, y2)Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
x1 | palo | Start point x. |
y1 | palo | Start point y. |
x2 | palo | End point x. |
y2 | palo | End point y. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
sefofane(220);
boketeMothalo(4);
thalaMothalo(50, 50, 350, 350);
}