Lines Matching refs:typeface

25  * The Typeface class specifies the typeface and intrinsic style of a font.
32 /** The default NORMAL typeface object */
35 * The default BOLD typeface object. Note: this may be not actually be
40 /** The NORMAL style of the default sans serif typeface. */
42 /** The NORMAL style of the default serif typeface. */
44 /** The NORMAL style of the default monospace typeface. */
61 /** Returns the typeface's intrinsic style attributes */
77 * Create a typeface object given a family name, and option style information.
79 * The resulting typeface object can be queried (getStyle()) to discover what
83 * @param style The style (normal, bold, italic) of the typeface.
85 * @return The best matching typeface.
92 * Create a typeface object that best matches the specified existing
93 * typeface and the specified Style. Use this call if you want to pick a new
94 * style from the same family of an existing typeface object. If family is
98 * @param style The style (normal, bold, italic) of the typeface.
100 * @return The best matching typeface.
113 Typeface typeface;
117 typeface = styles.get(style);
118 if (typeface != null) {
119 return typeface;
123 typeface = new Typeface(nativeCreateFromTypeface(ni, style));
128 styles.put(style, typeface);
130 return typeface;
134 * Returns one of the default typeface objects, based on the specified style
136 * @return the default typeface that corresponds to the style
143 * Create a new typeface from the specified font data.
146 * @return The new typeface.
153 * Create a new typeface from the specified font file.
156 * @return The new typeface.
163 * Create a new typeface from the specified font file.
166 * @return The new typeface.
175 throw new RuntimeException("native typeface cannot be made");
210 Typeface typeface = (Typeface) o;
212 return mStyle == typeface.mStyle && native_instance == typeface.native_instance;