Class IncodeTypography
-
- All Implemented Interfaces:
@Serializable() public final class IncodeTypographyConfiguration for the typography theme, including font families, letter spacing, and font weights.
This data class allows customization of text appearance in the SDK UI through the following parameters:
- Since:
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classIncodeTypography.WeightRepresents the font weights used in typography settings.
This data class allows customization of different font weights for various text styles used in the SDK UI. Each parameter corresponds to a specific weight, ensuring flexibility and consistency in text presentation.
public final classIncodeTypography.FamilyRepresents the font families used in typography settings.
This data class allows customization of font families for various text categories within the SDK UI. The provided parameters enable distinct font families for regular text and display purposes.
public final classIncodeTypography.LetterSpacingRepresents the letter spacing in typography settings. It allows fine tuning of letter spacing in applied font families. In JSON serialisation values are taken as androidx.compose.ui.unit.TextUnitType.Sp.
-
Field Summary
Fields Modifier and Type Field Description private final IncodeTypography.Familyfamilyprivate final IncodeTypography.LetterSpacingletterSpacingprivate final IncodeTypography.WeightfontWeight
-
Constructor Summary
Constructors Constructor Description IncodeTypography(IncodeTypography.Family family, IncodeTypography.LetterSpacing letterSpacing, IncodeTypography.Weight fontWeight)IncodeTypography(IncodeTypography.Family family, IncodeTypography.LetterSpacing letterSpacing)IncodeTypography(IncodeTypography.Family family)IncodeTypography()
-
Method Summary
Modifier and Type Method Description final IncodeTypography.FamilygetFamily()final IncodeTypography.LetterSpacinggetLetterSpacing()final IncodeTypography.WeightgetFontWeight()-
-
Constructor Detail
-
IncodeTypography
IncodeTypography(IncodeTypography.Family family, IncodeTypography.LetterSpacing letterSpacing, IncodeTypography.Weight fontWeight)
- Parameters:
family- The font families applied in the SDK UI.letterSpacing- The letter spacing applied to various text styles.fontWeight- The font weight for different text styles.
-
IncodeTypography
IncodeTypography(IncodeTypography.Family family, IncodeTypography.LetterSpacing letterSpacing)
- Parameters:
family- The font families applied in the SDK UI.letterSpacing- The letter spacing applied to various text styles.
-
IncodeTypography
IncodeTypography(IncodeTypography.Family family)
- Parameters:
family- The font families applied in the SDK UI.
-
IncodeTypography
IncodeTypography()
-
-
Method Detail
-
getFamily
final IncodeTypography.Family getFamily()
-
getLetterSpacing
final IncodeTypography.LetterSpacing getLetterSpacing()
-
getFontWeight
final IncodeTypography.Weight getFontWeight()
-
-
-
-