GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeTitleStyle

The BlazeTitleStyle interface defines the appearance settings for the title of a BlazeWidgetItemStyle. This includes properties such as font, letter spacing, text color, line height, number of lines, and alignment.

Properties

font

font?: BlazeFont

A BlazeFont representing the font of the title.

letterSpacing

letterSpacing?: number

A number representing the letter spacing for the title.

textColor

textColor?: string

A string representing the text color of the title.

lineHeight

lineHeight?: number

A number representing the line height of the title.

maxLines

maxLines?: number

An number representing the number of lines for the title.

textAlign

textAlign: BlazeTextAlign

An TextAlign representing the alignment of the title.

Initialization

The BlazeWidgetItemTitleStyle can be initialized with custom values for its properties:

interface BlazeTitleStyle {
  font?: BlazeFont;
  textSize?: number;
  letterSpacing?: number;
  textColor?: string; //Hex
  lineHeight?: number;
  maxLines?: number;
  textAlign?: BlazeTextAlign;
}

Did this page help you?