public class Typeface extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BOLD |
static int |
BOLD_ITALIC |
static Typeface |
DEFAULT |
static Typeface |
DEFAULT_BOLD |
static int |
ITALIC |
static Typeface |
MONOSPACE |
static int |
NORMAL |
static Typeface |
SANS_SERIF |
static Typeface |
SERIF |
| Modifier and Type | Method and Description |
|---|---|
static Typeface |
create(String familyName,
int style) |
static Typeface |
create(Typeface family,
int style) |
static Typeface |
createFromAsset(AssetManager mgr,
String path) |
static Typeface |
createFromFile(File path) |
static Typeface |
createFromFile(String path) |
static Typeface |
defaultFromStyle(int style) |
boolean |
equals(Object o) |
protected void |
finalize() |
int |
getStyle() |
int |
hashCode() |
boolean |
isBold() |
boolean |
isItalic() |
public static final Typeface DEFAULT
public static final Typeface DEFAULT_BOLD
public static final Typeface SANS_SERIF
public static final Typeface SERIF
public static final Typeface MONOSPACE
public static final int NORMAL
public static final int BOLD
public static final int ITALIC
public static final int BOLD_ITALIC
public int getStyle()
public final boolean isBold()
public final boolean isItalic()
public static Typeface defaultFromStyle(int style)
public static Typeface createFromAsset(AssetManager mgr, String path)
protected void finalize()
throws Throwable
Copyright © 2008-2013. All Rights Reserved.