Coral 0.2.17 candidate API
Preparing search index...
@coral-viz/render
TextMeasureOptions
Interface TextMeasureOptions
Options for measuring text dimensions
interface
TextMeasureOptions
{
fontFamily
:
string
;
fontSize
:
number
;
fontWeight
?:
string
|
number
;
lineHeight
?:
number
;
maxWidth
?:
number
;
text
:
string
;
}
Index
Properties
font
Family
font
Size
font
Weight?
line
Height?
max
Width?
text
Properties
font
Family
fontFamily
:
string
font
Size
fontSize
:
number
Optional
font
Weight
fontWeight
?:
string
|
number
Optional
line
Height
lineHeight
?:
number
Optional
max
Width
maxWidth
?:
number
text
text
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
font
Family
font
Size
font
Weight
line
Height
max
Width
text
Coral 0.2.17 candidate API
Loading...
Options for measuring text dimensions