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?: BlazeFontA BlazeFont representing the font of the title.
letterSpacing
letterSpacing?: numberA number representing the letter spacing for the title.
textColor
textColor?: stringA string representing the text color of the title.
lineHeight
lineHeight?: numberA number representing the line height of the title.
maxLines
maxLines?: numberAn number representing the number of lines for the title.
textAlign
textAlign: BlazeTextAlignAn 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;
}Updated about 2 months ago
Did this page help you?
