PEELOTHOKO
→ EXCLUDESpline end mode: the first and last points steer the curve but are not drawn.
PEELOTHOKOUnder seeloSaKonego('ends', PEELOTHOKO), the first and last points are set aside: they tell the curve which way to leave and arrive, and are not part of the line that gets drawn. Only the middle span is drawn.
Measured on pixels: the pixel at the first point is left as background, while the one in the middle is stroke colour.
This helps when you want the curve to begin smoothly rather than at a corner.
The name is peelothoko — a setting-aside. It and AKARETSA are not matched in shape: one is a verb, the other a noun.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 220);
bokamorago(245);
seeloSaKonego('ends', PEELOTHOKO);
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);
seeloSaKonego('ends', AKARETSA);
tlhalosa('Konego e khutshwane ya botala jwa loapi e e mo gare, le didiko tse pedi tse dikhibidu tse di kwa ntle ga yona tse e sa di kgomeng.');
}