Class Typeface


@Immutable public class Typeface extends FontCollection
The Typeface specifies a set of font families that can be used in Paint. This determines how text appears when drawn and measured.
  • Field Details

    • SANS_SERIF

      public static final Typeface SANS_SERIF
    • SERIF

      public static final Typeface SERIF
    • MONOSPACED

      public static final Typeface MONOSPACED
    • NORMAL

      public static final int NORMAL
      Font style constant to request the plain/regular/normal style
      See Also:
    • BOLD

      public static final int BOLD
      Font style constant to request the bold style
      See Also:
    • ITALIC

      public static final int ITALIC
      Font style constant to request the italic style
      See Also:
    • BOLD_ITALIC

      public static final int BOLD_ITALIC
      Font style constant to request the bold and italic style
      See Also:
  • Method Details