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

Prev:text-width ( font text -- w )
Next:line-metrics ( font string -- metrics )


Vocabulary
ui.text

Inputs
fonta font
texta string or sequence of strings


Outputs
ha positive integer


Word description
Outputs the height of a piece of text.

Definition