TextRuler.addWord

Add the given word to the text. The text must be a single line.

struct TextRuler
addWord
(
String
)
(
String word
)

Return Value

Type: Vector2

Pen position for the word. It might differ from the original penPosition, because the word may be moved onto the next line.

Meta