SlotPlacement
import type { SlotPlacement } from 'pixi-silk/i18n';
A number slot as laid out, for value-fast updates.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
count | number | Characters (and instances) of the slot. | packages/pixi-silk/src/i18n/layout.ts:70 |
first | number | First instance of the slot’s characters. | packages/pixi-silk/src/i18n/layout.ts:68 |
formatted | FormattedNumber | The formatted value it was laid out with. | packages/pixi-silk/src/i18n/layout.ts:72 |
name | string | Slot name. | packages/pixi-silk/src/i18n/layout.ts:64 |
scale | number | Pixels per font unit of its digits. | packages/pixi-silk/src/i18n/layout.ts:74 |
slot | number | Slot id in the bundle. | packages/pixi-silk/src/i18n/layout.ts:66 |
style | number | Style row. | packages/pixi-silk/src/i18n/layout.ts:76 |