draw-text ( font text -- )
Factor handbook » UI framework » Implementing new gadgets » Customizing gadget appearance » Implementing custom drawing logic » Rendering text

Prev:offset>x ( n font string -- x )
Next:string>image ( font string -- image loc )


Vocabulary
ui.text

Inputs
fonta font
texta string or an array of strings


Outputs
None

Word description
Draws a piece of text.

Definition

GENERIC: draw-text ( font text -- )


Methods