SETSWANA TRANSLATION: Skip to content

thalaKhutlonne

SETSWANA TRANSLATION: Draws a rectangle at the given position and size.

SETSWANA TRANSLATION: By default the first two arguments are the x and y of the top-left corner, followed by the width and height.

SETSWANA TRANSLATION: thalaKhutlonne(x, y, bophara, boleele)
SETSWANA TRANSLATION: NameSETSWANA TRANSLATION: TypeSETSWANA TRANSLATION: Description
xpaloSETSWANA TRANSLATION: Top-left x coordinate.
ypaloSETSWANA TRANSLATION: Top-left y coordinate.
bopharapaloSETSWANA TRANSLATION: Width of the rectangle.
boleelepaloSETSWANA TRANSLATION: Height of the rectangle.
SETSWANA TRANSLATION: A blue rectangle
tiro setaLoeto() {
  thalaKanefase(400, 400);
  sefofane(220);
  tlatsaMmala(0, 0, 255);
  thalaKhutlonne(100, 100, 200, 150);
}

thalaSediko, khutloTharo