Packages
Appearance
helix / textWidth
textWidth(s, bold): number
s
bold
number
Defined in: core/values/book.ts:107
A string's rendered width in pixels; bold adds 1px per character.
string
boolean