Will measure and return the width in pixels of a line or multiple lines of text. If no text parameter is passed, will use the current text assigned to the font entity.
measureTextWidth (Stringtext)
StringtextOptional text to measure, used existing entity text value if none is provided.