java.lang.Object | |
↳ | com.urbanairship.Fonts |
Helper class to cache and resolve font families.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void |
addFontFamily(String fontFamily, Typeface typeface)
Adds a type face for a given font family.
| ||||||||||
synchronized Typeface |
getFontFamily(String fontFamily)
Gets the type face for a given font family.
| ||||||||||
boolean | isSystemFont(String fontFamily) | ||||||||||
static Fonts |
shared(Context context)
Gets the shared fonts instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Adds a type face for a given font family.
fontFamily | The font family. |
---|---|
typeface | The typeface. |
Gets the type face for a given font family.
fontFamily | The font family. |
---|
Gets the shared fonts instance.
context | The application context. |
---|