Class FontCollection

java.lang.Object
icyllis.modernui.graphics.text.FontCollection
Direct Known Subclasses:
Typeface

@Internal public class FontCollection extends Object
  • Field Details

    • GC_M_MASK

      public static final int GC_M_MASK
    • REPLACEMENT_CHARACTER

      public static final int REPLACEMENT_CHARACTER
      See Also:
    • UNSUPPORTED_FONT_SCORE

      public static final int UNSUPPORTED_FONT_SCORE
      See Also:
  • Constructor Details

  • Method Details

    • doesNotNeedFontSupport

      public static boolean doesNotNeedFontSupport(int c)
    • isStickyWhitelisted

      public static boolean isStickyWhitelisted(int c)
    • isCombining

      public static boolean isCombining(int c)
    • isVariationSelector

      public static boolean isVariationSelector(int c)
    • isEmojiBreak

      public static boolean isEmojiBreak(int prevCh, int ch)
    • itemize

      @NonNull public List<FontCollection.Run> itemize(@NonNull char[] text, int offset, int limit)
      Perform the itemization.
    • itemize

      @NonNull public List<FontCollection.Run> itemize(@NonNull char[] text, int offset, int limit, int runLimit)
      Perform the itemization.
    • getFamilies

      @NonNull public @Unmodifiable List<FontFamily> getFamilies()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object