Field Notes
Field Notes home
Docs
Playground
Preparing search index...
@fieldnotes/core
TextMeasurer
Type Alias TextMeasurer
TextMeasurer
:
(
text
:
string
,
font
:
string
)
=>
number
Measures one text fragment using its CSS canvas font string.
Type Declaration
(
text
:
string
,
font
:
string
)
:
number
Parameters
text
:
string
font
:
string
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Field Notes home
Docs
Playground
Field Notes
Loading...
Measures one text fragment using its CSS canvas font string.