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

Prev:text-height ( font text -- h )
Next:x>offset ( x font string -- n )


Vocabulary
ui.text

Inputs
fonta font
stringa string


Outputs
metricsa line-metrics


Generic word contract
Outputs a metrics object with text measurements.

Definition


Methods