HTextExtensions

Static Class

Extension Methods

Body(text: HText, theme: IThemeProvider, level: int): HText
Applies the current theme's body font size at the specified level.
RemarksResolves the sizes from PrimitiveBaseTheme.Typography with level 1 being linked to PrimitiveTypographyScheme.FontSize3 and level 3 being the last.
Caption(text: HText, theme: IThemeProvider, level: int): HText
Applies the current theme's caption font size at the specified level.
RemarksResolves the sizes from PrimitiveBaseTheme.Typography with level 1 being linked to PrimitiveTypographyScheme.FontSize1 and level 2 being the last.
Display(text: HText, theme: IThemeProvider): HText
Applies the current theme's display font size.
RemarksResolves the sizes from PrimitiveBaseTheme.Typography being linked to PrimitiveTypographyScheme.FontSize9.
Heading(text: HText, theme: IThemeProvider, level: int): HText
Applies the current theme's heading font size at the specified level.
RemarksResolves the sizes from PrimitiveBaseTheme.Typography with level 1 being linked to PrimitiveTypographyScheme.FontSize6 and level 3 being the last.

Inherited Members

On this page