Tlola o ye mo diteng
DikaiBula setseleganyi ↗

RIBEGA

→ INVERT

Boleng jwa `tlhotlha`: fetolela mmala mongwe le mongwe mo go o o mo kgatlhanong.

tlhotlha(RIBEGA)

Karolo nngwe le nngwe ya mmala e ntshiwa mo go 255. Go lekantswe: [255, 0, 0] e nna [0, 255, 255], mme bosweu [255, 255, 255] bo nna bontsho [0, 0, 0].

Ke yona tiro fela mo gare ga ditlhotlho tse tlhano tse di dirisiwang gantsi e e fetolang ntlha nngwe le nngwe ya kanefase, le e e leng kwa ntle ga setshwantsho — go lekantswe.

ribega ke lediri la Setswana le le rayang go menola selo, go se fetola ka fa se lebileng ka gone.

Letsatsi le le ribegilweng
tiro setaLoeto() {
  thalaKanefase(300, 160);
  bokamorago(245);

  diri letsatsi = letela tlisaSetshwantsho('letsatsi.png');
  thalaSetshwantsho(letsatsi, 75, 5, 150, 150);
  tlhotlha(RIBEGA, maaka);

  tlhalosa('Setshwantsho sa letsatsi se mebala ya sona e ribegilweng, mo bokamoragong jo bo talatala.');
}

tlhotlha, BOPUTSWA, MOLELWANE