Package icyllis.modernui.graphics.text
Class FontCollection
java.lang.Object
icyllis.modernui.graphics.text.FontCollection
- Direct Known Subclasses:
Typeface
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
doesNotNeedFontSupport
(int c) boolean
@Unmodifiable List
<FontFamily> int
hashCode()
static boolean
isCombining
(int c) static boolean
isEmojiBreak
(int prevCh, int ch) static boolean
isStickyWhitelisted
(int c) static boolean
isVariationSelector
(int c) itemize
(char[] text, int offset, int limit) Perform the itemization.itemize
(char[] text, int offset, int limit, int runLimit) Perform the itemization.toString()
-
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
-
FontCollection
-
-
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
Perform the itemization. -
itemize
@NonNull public List<FontCollection.Run> itemize(@NonNull char[] text, int offset, int limit, int runLimit) Perform the itemization. -
getFamilies
-
equals
-
hashCode
public int hashCode() -
toString
-