Skip to content
ExamplesOpen editor ↗

GODIMO

→ TOP

A value that puts the top edge of the text at the y you gave.

GODIMO

It is the second parameter of rulaganyaMokwalo, the one about y. With GODIMO, the y you gave is the top edge of the text, and the words hang below it.

It is the easy one to reason about when lining text up with a shape — a rectangle starting at y = 40 and text starting at y = 40 begin in the same place under GODIMO.

godimo is the ordinary, heavily-written Setswana word for “above”, and Bopa already speaks of the sekhutlo sa godimo-molema.

Text that starts where the rectangle starts
tiro setaLoeto() {
  thalaKanefase(400, 200);
  bokamorago(240);
  bogoloJwaMokwalo(22);

  tlogelaGoTlatsa();
  mothaloMmala(200, 200, 210);
  thalaKhutlonne(40, 60, 320, 90);

  tlogelaMothalo();
  tlatsaMmala(40, 50, 70);
  rulaganyaMokwalo(MOLEMA, GODIMO);
  thalaMokwalo('Go simolola kwa godimo', 40, 60);

  tlhalosa('Mokwalo o o simololang mo sekhutlong sa godimo sa khutlonne e e nang le mothalo fela.');
}

rulaganyaMokwalo, TLASE, MOLATLASE, BOGARE