Skip to content
pixi-silk
GitHub repository
Interface in pixi-silk/i18n

InlineMetrics

import type { InlineMetrics } from 'pixi-silk/i18n';

Size of an inline object such as <coin/>, in em of the message size.

Properties#

PropertyTypeDescriptionDefined in
baseline?numberPart of the height below the baseline, 0 to 1. Default 0.packages/pixi-silk/src/i18n/layout.ts:38
heightnumberHeight in em.packages/pixi-silk/src/i18n/layout.ts:36
widthnumberWidth in em.packages/pixi-silk/src/i18n/layout.ts:34