@Implements(value=android.graphics.Typeface.class, looseSignatures=true) public class ShadowTypeface extends 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(String xmlPath,
String fontDir,
ArrayMap<String,Typeface> fontMap,
ArrayMap<String,FontFamily[]> fallbackMap) |
protected static Typeface |
create(String familyName,
int style) |
protected static Typeface |
create(Typeface family,
int style) |
protected static Typeface |
createFromAsset(AssetManager mgr,
String path) |
protected static Typeface |
createFromFamilies(Object families) |
protected static Typeface |
createFromFamiliesWithDefault(Object families) |
protected static Typeface |
createFromFamiliesWithDefault(Object families,
Object weight,
Object italic) |
protected static Typeface |
createFromFamiliesWithDefault(Object families,
Object fallbackName,
Object weight,
Object italic) |
protected static Typeface |
createFromFile(File path) |
protected static Typeface |
createFromFile(String path) |
protected static Typeface |
createFromResources(AssetManager mgr,
String path,
int cookie) |
protected static Typeface |
createFromResources(Object entry,
Object mgr,
Object path) |
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 Typeface create(String familyName, int style)
@Implementation protected static Typeface create(Typeface family, int style)
@Implementation protected static Typeface createFromAsset(AssetManager mgr, String path)
@Implementation(minSdk=26) protected static Typeface createFromResources(AssetManager mgr, String path, int cookie)
@Implementation(minSdk=26, maxSdk=27) protected static Typeface createFromResources(Object entry, Object mgr, Object path)
@Implementation protected static Typeface createFromFile(File path)
@Implementation protected static Typeface createFromFile(String path)
@Implementation protected int getStyle()
@HiddenApi @Implementation(minSdk=21) protected static Typeface createFromFamilies(Object families)
@HiddenApi @Implementation(minSdk=21, maxSdk=25) protected static Typeface createFromFamiliesWithDefault(Object families)
@Implementation(minSdk=26, maxSdk=27) protected static Typeface createFromFamiliesWithDefault(Object families, Object weight, Object italic)
@Implementation(minSdk=28) protected static Typeface createFromFamiliesWithDefault(Object families, Object fallbackName, Object weight, Object italic)
@Implementation(minSdk=28, maxSdk=28) protected static void buildSystemFallback(String xmlPath, String fontDir, ArrayMap<String,Typeface> fontMap, ArrayMap<String,FontFamily[]> fallbackMap)
@Resetter public static void reset()
public ShadowTypeface.FontDesc getFontDescription()
Returns the font description.