API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceFontVariantKey

@codexo/exojs / rendering / stable

Everything that decides which glyphs a text run is drawn from. Named rather than positional because the four values are all strings and three of them default to `'normal'`: `{ family: 'Roboto', fontWeight: '700' }` says what a run of four bare strings could not.

4
props
0
methods
0
events
Import
import { FontVariantKey } from '@codexo/exojs'

Everything that decides which glyphs a text run is drawn from.

Named rather than positional because the four values are all strings and three of them default to `'normal'`: `{ family: 'Roboto', fontWeight: '700' }` says what a run of four bare strings could not.

Properties4
family: string
fontWeight?: string
Defaults to 'normal'.
Source