FontSpec
The font a text run is measured and drawn with.
Used as Input
0
functions accept this type(+1 nested)
Used as Output
0
functions return this type(+8 nested)
Type Definition
4 nested items
struct— The font a text run is measured and drawn with.
family:String= "Inter, system-ui, -apple-system, san...— CSS
font-family list. Defaults to Inter, system-ui, -apple-system, sans-serif.size:f64= 12.5— Font size in scene units. Defaults to
12.5.weight:f64= 400— CSS numeric font weight (
400 regular, 700 bold). Defaults to 400.Example JSON Value
{}