KGOLOKWE
→ ROUNDA value that rounds off the end of a line, or its corner.
KGOLOKWEKGOLOKWE is used by two functions:
- In
ntlhaMothaloit makes the end of a line rounded — as though a dot were set down at the tip. This is the default. - In
kopanoMothaloit rounds off the corner where two segments of a line meet.
It shows only on a thick line — try boketeMothalo(20) first.
The same word is used in the name
thalaSediko(circle), because kgolokwe is the Setswana word for a round thing: a ball, a loaf, a circle. Here it describes the shape of the end of a line.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
bokamorago(240);
boketeMothalo(30);
mothaloMmala(80, 140, 200);
ntlhaMothalo(KGOLOKWE);
thalaMothalo(90, 110, 310, 110);
tlogelaGoTlatsa();
kopanoMothalo(KGOLOKWE);
thalaKhutlotharo(110, 320, 200, 190, 290, 320);
}