Skip to content

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.

thalaMothalo(x1, y1, x2, y2)
NameTypeDescription
x1paloStart point x.
y1paloStart point y.
x2paloEnd point x.
y2paloEnd point y.
A diagonal line
tiro setaLoeto() {
  thalaKanefase(400, 400);
  sefofane(220);
  boketeMothalo(4);
  thalaMothalo(50, 50, 350, 350);
}

ntlha, mothaloMmala