Code example for TextPaint

Methods: getFontMetricsIntmeasureText