@Implements(value=android.graphics.Typeface.class, looseSignatures=true) public class ShadowTypeface extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ShadowTypeface.FontDesc |
Constructor and Description |
---|
ShadowTypeface() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__(int fontId) |
protected void |
__constructor__(long fontId) |
protected static void |
buildSystemFallback(java.lang.String xmlPath,
java.lang.String fontDir,
android.util.ArrayMap<java.lang.String,android.graphics.Typeface> fontMap,
android.util.ArrayMap<java.lang.String,android.graphics.FontFamily[]> fallbackMap) |
protected static android.graphics.Typeface |
create(java.lang.String familyName,
int style) |
protected static android.graphics.Typeface |
create(android.graphics.Typeface family,
int style) |
protected static android.graphics.Typeface |
createFromAsset(android.content.res.AssetManager mgr,
java.lang.String path) |
protected static android.graphics.Typeface |
createFromFamilies(java.lang.Object families) |
protected static android.graphics.Typeface |
createFromFamiliesWithDefault(java.lang.Object families) |
protected static android.graphics.Typeface |
createFromFamiliesWithDefault(java.lang.Object families,
java.lang.Object weight,
java.lang.Object italic) |
protected static android.graphics.Typeface |
createFromFamiliesWithDefault(java.lang.Object families,
java.lang.Object fallbackName,
java.lang.Object weight,
java.lang.Object italic) |
protected static android.graphics.Typeface |
createFromFile(java.io.File path) |
protected static android.graphics.Typeface |
createFromFile(java.lang.String path) |
protected static android.graphics.Typeface |
createFromResources(android.content.res.AssetManager mgr,
java.lang.String path,
int cookie) |
ShadowTypeface.FontDesc |
getFontDescription()
Returns the font description.
|
protected int |
getStyle() |
static void |
reset() |
@HiddenApi @Implementation protected void __constructor__(int fontId)
@HiddenApi @Implementation protected void __constructor__(long fontId)
@Implementation protected static android.graphics.Typeface create(java.lang.String familyName, int style)
@Implementation protected static android.graphics.Typeface create(android.graphics.Typeface family, int style)
@Implementation protected static android.graphics.Typeface createFromAsset(android.content.res.AssetManager mgr, java.lang.String path)
@Implementation(minSdk=26) protected static android.graphics.Typeface createFromResources(android.content.res.AssetManager mgr, java.lang.String path, int cookie)
@Implementation protected static android.graphics.Typeface createFromFile(java.io.File path)
@Implementation protected static android.graphics.Typeface createFromFile(java.lang.String path)
@Implementation protected int getStyle()
@HiddenApi @Implementation(minSdk=21) protected static android.graphics.Typeface createFromFamilies(java.lang.Object families)
@HiddenApi @Implementation(minSdk=21, maxSdk=25) protected static android.graphics.Typeface createFromFamiliesWithDefault(java.lang.Object families)
@Implementation(minSdk=26, maxSdk=27) protected static android.graphics.Typeface createFromFamiliesWithDefault(java.lang.Object families, java.lang.Object weight, java.lang.Object italic)
@Implementation(minSdk=28) protected static android.graphics.Typeface createFromFamiliesWithDefault(java.lang.Object families, java.lang.Object fallbackName, java.lang.Object weight, java.lang.Object italic)
@Implementation(minSdk=28) protected static void buildSystemFallback(java.lang.String xmlPath, java.lang.String fontDir, android.util.ArrayMap<java.lang.String,android.graphics.Typeface> fontMap, android.util.ArrayMap<java.lang.String,android.graphics.FontFamily[]> fallbackMap)
@Resetter public static void reset()
public ShadowTypeface.FontDesc getFontDescription()
Returns the font description.