-
public class Fonts.FontOpts.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final Fonts.FontOptsDEFAULTpublic final static Fonts.FontOpts.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final Fonts.FontOptsgetDEFAULT()Default configuration for font options, intended for general usage. -
-
Method Detail
-
getDEFAULT
final Fonts.FontOpts getDEFAULT()
Default configuration for font options, intended for general usage.
This field provides a default set of options with a widely supported family name of "sans-serif", default weight as Weight.NORMAL (equivalent to 400), and style as Font.STYLE_NORMAL. This setup ensures that if no specific preferences are specified, a broadly compatible and visually neutral font configuration is used.
This can be particularly useful in scenarios where specific font attributes are not critical, or where a robust and fail-safe font selection is needed.
-
-
-
-