API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceFontTypefaceKey
@codexo/exojs / rendering / stable
The typeface a glyph source draws from: a family, and the slant and weight selected within it. A loaded FontFace replaces every caps variant of the typeface at once, which is why the cache-clearing side of the text stack is expressed in these terms rather than in FontVariantKey.
3
props
0
methods
0
events
Import
import { FontTypefaceKey } from '@codexo/exojs'The typeface a glyph source draws from: a family, and the slant and weight selected within it.
A loaded FontFace replaces every caps variant of the typeface at once, which is why the cache-clearing side of the text stack is expressed in these terms rather than in FontVariantKey.
Properties3
family: stringDefaults to 'normal'.
fontWeight?: stringDefaults to 'normal'.
Source