SETSWANA TRANSLATION: Skip to content

thalaMothalo

SETSWANA TRANSLATION: Draws a straight line between two points.

SETSWANA TRANSLATION: The first two arguments are the start point, the next two are the end point. The line uses the current stroke color and weight.

SETSWANA TRANSLATION: thalaMothalo(x1, y1, x2, y2)
SETSWANA TRANSLATION: NameSETSWANA TRANSLATION: TypeSETSWANA TRANSLATION: Description
x1paloSETSWANA TRANSLATION: Start point x.
y1paloSETSWANA TRANSLATION: Start point y.
x2paloSETSWANA TRANSLATION: End point x.
y2paloSETSWANA TRANSLATION: End point y.
SETSWANA TRANSLATION: A diagonal line
tiro setaLoeto() {
  thalaKanefase(400, 400);
  sefofane(220);
  boketeMothalo(4);
  thalaMothalo(50, 50, 350, 350);
}

ntlha, mothaloMmala