Skip to content
pixi-silk
GitHub repository
Interface

FontMetrics

import type { FontMetrics } from 'pixi-silk/text';

Vertical metrics of a font at the atlas size, measured the way PixiJS Text measures them.

Properties#

PropertyTypeDescriptionDefined in
ascentnumberDistance from the baseline up to the top of `ÉqÅM`.
descentnumberDistance from the baseline down to the bottom of `ÉqÅM`.