Skip to content

resolveTextStyle

resolveTextStyle(style, extraDefault?): TextStyleOptions | undefined

Defined in: packages/renderer/src/internal/textConstruction.ts:45

Internal

Resolve the final style assigned to a Pixi text node: engine default (+ an optional caller default, e.g. the UIPlugin override) as the base, then the per-text style on top. Used by both construction and the setStyle update paths so a re-render keeps the resolved default.

TextStyleOptions | undefined

TextStyleOptions

TextStyleOptions | undefined