Jazz2::UI::FormattedTextBlockParams struct

Initialization parameters for formatted text block.

Bundles the text contents together with the font, alignment, color, scale and spacing used to lay out and render a FormattedTextBlock. Passed to its constructor to configure the appearance of the block in a single call.

Public variables

StringView Text
Text to display.
Font* TextFont
Font used to render the text.
Alignment Align
Text alignment.
Colorf Color
Default text color.
float Scale
Text scale.
float CharSpacing
Character spacing.
float LineSpacing
Line spacing.