Uses code from Text.draw without actually drawing anything to
the canvas to measure the height of the text. Especially useful
for bottom or middle aligning text (vertically).
I have implemented the same general logic, just piggy-backing on the existing _drawText() method to reduce the number of code lines required. Thanks for the contribution!