measureText

Returns the width of the provided text.