measure Text
Returns the bounds of the TextNode, no transformation is applied.
the Rect position returned is the same as the TextNode
the Rect is the same as the TextNode
the Rect position may vary depending on the TextNode alignment properties
Return
A Rect which Rect.topLeft position is the TextNode top-left position, and Rect.width is TextNode width.
Parameters
a TextNode with all properties set.
Returns the bounds of a text to be drawn on screen.
Return
A Rect which Rect.topLeft position is the text top-left position, and Rect.width is text width.
Parameters
Returns the bounds of a text to be drawn on screen.
Return
A Rect which Rect.topLeft position is the text top-left position, and Rect.width is text width.
Parameters
Returns the bounds of a text to be drawn on screen.
Return
A Rect which Rect.topLeft position is the text top-left position, and Rect.width is text width.