android.graphics.Typeface //图形,制图;字型
Class Overview
The Typeface class specifies the typeface and intrinsic style of a font. This is used in the paint, along with optionally Paint settings like textSize, textSkewX, textScaleX to specify how text appears when drawn (and measured).
Constants //常量
Fields
public static final Typeface DEFAULT_BOLD
Added in
API level 1
The default BOLD typeface object. Note: this may be not actually be bold, depending on what fonts are installed. Call getStyle() to know for sure.
public static final Typeface MONOSPACE //monospace:单一间隔,划一字距,等宽字体.
Added in
API level 1
The NORMAL style of the default monospace typeface.
public static final Typeface SANS_SERIF //sans:无;serif:衬线
Added in
API level 1
The NORMAL style of the default sans serif typeface.
public static final Typeface SERIF //衬线
Added in
API level 1
The NORMAL style of the default serif typeface