📘 Calculates and returns the descent (the distance from the baseline to the bottom of the lowest character) of the current font.
string to measure
descent of the text in pixels
await Canvas(200);background(0.8);textSize(64);rect(-100, 0, 200, textDescent('q5'));text('q5', -90, 0); Copy
await Canvas(200);background(0.8);textSize(64);rect(-100, 0, 200, textDescent('q5'));text('q5', -90, 0);
📘 Calculates and returns the descent (the distance from the baseline to the bottom of the lowest character) of the current font.