Build m5-rc15

android.graphics
Class Typeface

java.lang.Object
  extended by android.graphics.Typeface

public class Typeface
extends Object


Field Summary
static int BOLD
           
static int BOLD_ITALIC
           
static Typeface DEFAULT
           
static Typeface DEFAULT_BOLD
           
static Typeface DEFAULT_BOLD_ITALIC
           
static Typeface DEFAULT_ITALIC
           
static int ITALIC
           
static Typeface MONOSPACE
           
static int NORMAL
           
static Typeface SANS_SERIF
           
static Typeface SERIF
           
 
Constructor Summary
Typeface()
           
 
Method Summary
static Typeface create(String familyName, int style)
           
static Typeface create(Typeface family, int style)
           
static Typeface createFromAsset(AssetManager mgr, String path)
           
static Typeface defaultFromStyle(int style)
           
protected  void finalize()
           
 int getStyle()
           
 boolean isBold()
           
 boolean isItalic()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final Typeface DEFAULT

DEFAULT_BOLD

public static final Typeface DEFAULT_BOLD

DEFAULT_ITALIC

public static final Typeface DEFAULT_ITALIC

DEFAULT_BOLD_ITALIC

public static final Typeface DEFAULT_BOLD_ITALIC

SANS_SERIF

public static final Typeface SANS_SERIF

SERIF

public static final Typeface SERIF

MONOSPACE

public static final Typeface MONOSPACE

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

BOLD

public static final int BOLD
See Also:
Constant Field Values

ITALIC

public static final int ITALIC
See Also:
Constant Field Values

BOLD_ITALIC

public static final int BOLD_ITALIC
See Also:
Constant Field Values
Constructor Detail

Typeface

public Typeface()
Method Detail

getStyle

public int getStyle()

isBold

public final boolean isBold()

isItalic

public final boolean isItalic()

create

public static Typeface create(String familyName,
                              int style)

create

public static Typeface create(Typeface family,
                              int style)

defaultFromStyle

public static Typeface defaultFromStyle(int style)

createFromAsset

public static Typeface createFromAsset(AssetManager mgr,
                                       String path)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

Build m5-rc15

Please submit a feedback, bug or feature