@Implements(value=android.graphics.Typeface.class, looseSignatures=true) public class ShadowTypeface extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
ShadowTypeface.FontDesc |
|
static class |
ShadowTypeface.ShadowBuilder |
Constructor | Description |
---|---|
ShadowTypeface() |
Modifier and Type | Method | 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(Typeface family,
int style) |
|
protected static Typeface |
create(Typeface family,
int weight,
boolean italic) |
|
protected static Typeface |
create(String familyName,
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) |
|
boolean |
equals(Object o) |
|
ShadowTypeface.FontDesc |
getFontDescription() |
Returns the font description.
|
protected int |
getStyle() |
|
int |
hashCode() |
|
static void |
initSystemDefaultTypefaces(Object systemFontMap,
Object fallbacks,
Object aliases) |
|
protected static long |
nativeCreateFromArray(long[] familyArray,
int weight,
int italic) |
|
static void |
reset() |
@HiddenApi @Implementation protected void __constructor__(int fontId)
@HiddenApi @Implementation protected void __constructor__(long fontId)
@Implementation(minSdk=28) protected static Typeface create(Typeface family, int weight, boolean italic)
@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()
@Implementation public boolean equals(Object o)
@Implementation public int hashCode()
@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)
@HiddenApi @Implementation(minSdk=29) public static void initSystemDefaultTypefaces(Object systemFontMap, Object fallbacks, Object aliases)
@Resetter public static void reset()
@Implementation(minSdk=26) protected static long nativeCreateFromArray(long[] familyArray, int weight, int italic)
public ShadowTypeface.FontDesc getFontDescription()