FontTables
import type { FontTables } from 'pixi-silk/i18n/shaper';
The tables of a TrueType font a run sprite needs.
Properties#
Methods#
outline()#
outline(glyph: number): Contour[];
The outline of a glyph, as flattened contours. Empty for a space or a missing glyph.
Parameters#
| Parameter | Type |
|---|---|
glyph | number |
Returns#
Contour[]