Function: defaultFontFace()
ts
function defaultFontFace(family, weight?, style?): DefaultFontFace | undefined;Experimental
The face of the built-in default font that draws a request: undefined when the family is registered or the app set a default font URL. Unregistered families (e.g. 'Helvetica Neue', Helvetica, Arial, sans-serif) are drawn with the built-in font's face closest to the requested weight and style (CSS matching, fontWeightRank): 400/700 × upright/italic.
Parameters
| Parameter | Type |
|---|---|
family | string |
weight? | TextFontWeight |
style? | TextFontStyle |
Returns
DefaultFontFace | undefined