Package icyllis.modernui.text
Class Typeface
java.lang.Object
icyllis.modernui.graphics.text.FontCollection
icyllis.modernui.text.Typeface
The Typeface specifies a set of font families that can be used
in Paint. This determines how text appears when drawn and measured.
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.modernui.graphics.text.FontCollection
FontCollection.Run
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Font style constant to request the bold stylestatic final int
Font style constant to request the bold and italic stylestatic final int
Font style constant to request the italic stylestatic final Typeface
static final int
Font style constant to request the plain/regular/normal stylestatic final Typeface
static final Typeface
Fields inherited from class icyllis.modernui.graphics.text.FontCollection
GC_M_MASK, REPLACEMENT_CHARACTER, UNSUPPORTED_FONT_SCORE
-
Method Summary
Modifier and TypeMethodDescriptionstatic Typeface
createTypeface
(FontFamily... families) static Typeface
getSystemFont
(String familyName) Methods inherited from class icyllis.modernui.graphics.text.FontCollection
doesNotNeedFontSupport, equals, getFamilies, hashCode, isCombining, isEmojiBreak, isStickyWhitelisted, isVariationSelector, itemize, itemize, toString
-
Field Details
-
SANS_SERIF
-
SERIF
-
MONOSPACED
-
NORMAL
public static final int NORMALFont style constant to request the plain/regular/normal style- See Also:
-
BOLD
public static final int BOLDFont style constant to request the bold style- See Also:
-
ITALIC
public static final int ITALICFont style constant to request the italic style- See Also:
-
BOLD_ITALIC
public static final int BOLD_ITALICFont style constant to request the bold and italic style- See Also:
-
-
Method Details
-
createTypeface
-
getSystemFont
-