Code example for Paint

Methods: ascentdescentmeasureText