Class IncodeTypography.Weight
-
- All Implemented Interfaces:
@Serializable() public final class IncodeTypography.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.
-
-
Field Summary
Fields Modifier and Type Field Description private final FontWeightregularprivate final FontWeightmediumprivate final FontWeightboldprivate final FontWeightextraBold
-
Constructor Summary
Constructors Constructor Description IncodeTypography.Weight(FontWeight regular, FontWeight medium, FontWeight bold, FontWeight extraBold)IncodeTypography.Weight(FontWeight regular, FontWeight medium, FontWeight bold)IncodeTypography.Weight(FontWeight regular, FontWeight medium)IncodeTypography.Weight(FontWeight regular)IncodeTypography.Weight()
-
Method Summary
Modifier and Type Method Description final FontWeightgetRegular()final FontWeightgetMedium()final FontWeightgetBold()final FontWeightgetExtraBold()-
-
Constructor Detail
-
IncodeTypography.Weight
IncodeTypography.Weight(FontWeight regular, FontWeight medium, FontWeight bold, FontWeight extraBold)
- Parameters:
regular- The regular font weight.medium- The medium font weight.bold- The bold font weight.extraBold- The extra bold font weight.
-
IncodeTypography.Weight
IncodeTypography.Weight(FontWeight regular, FontWeight medium, FontWeight bold)
- Parameters:
regular- The regular font weight.medium- The medium font weight.bold- The bold font weight.
-
IncodeTypography.Weight
IncodeTypography.Weight(FontWeight regular, FontWeight medium)
- Parameters:
regular- The regular font weight.medium- The medium font weight.
-
IncodeTypography.Weight
IncodeTypography.Weight(FontWeight regular)
- Parameters:
regular- The regular font weight.
-
IncodeTypography.Weight
IncodeTypography.Weight()
-
-
Method Detail
-
getRegular
final FontWeight getRegular()
-
getMedium
final FontWeight getMedium()
-
getBold
final FontWeight getBold()
-
getExtraBold
final FontWeight getExtraBold()
-
-
-
-