MOLATLASE
→ BASELINEA value that puts the line the letters stand on at the y you gave.
MOLATLASEIt is the default, and it is what you see when you write thalaMokwalo('Dumela', 20, 100) and say nothing about alignment.
The baseline is the line the letters stand on. Most letters sit right on it, but a few — g, p, q, y — hang below. That is where MOLATLASE and TLASE part company: TLASE takes the hanging letters into account, and MOLATLASE does not.
When you draw text on a line — in a table, or a list — MOLATLASE is what makes the words look as though they really stand on it.
The name is molatlase. It is taken because its parts are true here: the line below the letters.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 240);
bokamorago(244);
bogoloJwaMokwalo(26);
rulaganyaMokwalo(MOLEMA, MOLATLASE);
metlha mafoko = ['Gaborone', 'Palapye', 'Kanye'];
gopheta (diri i = 0; i < 3; i = i + 1) {
diri y = 70 + i * 60;
mothaloMmala(210, 214, 220);
boketeMothalo(2);
thalaMothalo(40, y, 360, y);
tlogelaMothalo();
tlatsaMmala(40, 50, 70);
thalaMokwalo(mafoko[i], 40, y);
}
tlhalosa('Maina a metse e meraro ya Botswana, mongwe le mongwe o eme mo mothalong o o bosetlha.');
}