Code example for TextPaint

Methods: ascent, descent, measureText