Skip to content
ExamplesOpen editor ↗

AKARETSA

→ INCLUDE

Spline end mode: the curve passes through its first and last points too.

AKARETSA

AKARETSA is the default value of seeloSaKonego('ends', ...). Under it, the curve passes through every point you give — the ends are taken in.

Measured on pixels: under AKARETSA the pixel at the first point is stroke colour; under PEELOTHOKO that pixel is left as background.

PEELOTHOKO is the other mode.

A curve that takes in its own ends
tiro setaLoeto() {
  thalaKanefase(400, 220);
  bokamorago(245);
  seeloSaKonego('ends', AKARETSA);

  tlogelaGoTlatsa();
  mothaloMmala(30, 120, 190);
  boketeMothalo(3);
  thalaKonego(50, 170, 140, 50, 260, 170, 350, 50);

  tlogelaMothalo();
  tlatsaMmala(220, 70, 90);
  thalaSediko(50, 170, 12);
  thalaSediko(350, 50, 12);

  tlhalosa('Konego ya botala jwa loapi e e simololang le go khutla mo didikong tse dikhibidu tse pedi.');
}

seeloSaKonego, PEELOTHOKO, thalaKonego, ntlhanaKonego