Package 

Object Fonts.FontOpts.Companion

    • Method Summary

      Modifier and Type Method Description
      final Fonts.FontOpts getDEFAULT() Default configuration for font options, intended for general usage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.