Lines Matching refs:font

29 import java.awt.font.FontRenderContext;
30 import java.awt.font.LineMetrics;
35 * The <code>FontMetrics</code> class defines a font metrics object, which
36 * encapsulates information about the rendering of a particular font on a
67 * In addition, every character in a font has an <i>ascent</i>, a
92 * generally independent of the rotation applied to the font (modulo
113 * The actual {@link Font} from which the font metrics are
120 protected Font font;
131 * @param font the <code>Font</code>
134 protected FontMetrics(Font font) {
135 this.font = font;
145 return font;
181 * Determines the <em>font ascent</em> of the <code>Font</code>
182 * described by this <code>FontMetrics</code> object. The font ascent
183 * is the distance from the font's baseline to the top of most
185 * might extend above the font ascent line.
186 * @return the font ascent of the <code>Font</code>.
190 return font.getSize();
194 * Determines the <em>font descent</em> of the <code>Font</code>
196 * <code>FontMetrics</code> object. The font descent is the distance
197 * from the font's baseline to the bottom of most alphanumeric
200 * below the font descent line.
201 * @return the font descent of the <code>Font</code>.
209 * Gets the standard height of a line of text in this font. This
216 * @return the standard height of the font.
228 * extends further above the font's baseline than this height.
240 * extends further below the font's baseline than this height.
375 * <code>char</code> array in the font described by
437 * composite font may consist of several different fonts to cover
443 * @return <code>true</code> if the font has uniform line metrics;
448 return font.hasUniformLineMetrics();
461 return font.getLineMetrics(str, myFRC(context));
478 return font.getLineMetrics(str, beginIndex, limit, myFRC(context));
495 return font.getLineMetrics(
514 return font.getLineMetrics(ci, beginIndex, limit, myFRC(context));
531 return font.getStringBounds(str, myFRC(context));
552 return font.getStringBounds(str, beginIndex, limit,
577 return font.getStringBounds(chars, beginIndex, limit,
599 return font.getStringBounds(ci, beginIndex, limit,
612 return font.getMaxCharBounds(myFRC(context));
632 "[font=" + getFont() +