Skip to content
pixi-silk
GitHub repository
Interface

StyleChange

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

What a StyleTable.set changed.

Properties#

PropertyTypeDescriptionDefined in
approximatedstring[]The shape-relevant properties layout can follow without shaping: size (baked advances do not depend on size), letterSpacing (added to the advances) and weight (approximated with the shader’s weight bias). Messages that use the style lay out again.packages/pixi-silk/src/i18n/styles.ts:14
needsCompilestring[]The ones only a recompile (or a runtime shaper) can follow: family and features.packages/pixi-silk/src/i18n/styles.ts:16
rowsnumber[]Style rows that were rewritten.packages/pixi-silk/src/i18n/styles.ts:6
shapeChangedstring[]Shape-relevant properties in the patch.packages/pixi-silk/src/i18n/styles.ts:8