
1.2 public java.awt.geom.Rectangle2D getStringBounds(java.text.CharacterIterator ci, int beginIndex, int limit,
java.awt.font.FontRenderContext frc);
1.2 public java.awt.geom.Rectangle2D getStringBounds(String str, int beginIndex, int limit,
java.awt.font.FontRenderContext frc);
constant1.2 public boolean hasUnifor mLineMetrics();
// Public Methods Overriding Object
public boolean equals(Object obj);
public int hashCode();
public String toString();
// Protected Methods Overriding Object
1.2 protected void finalize() throws Throwable;
// Protected Instance Fields
protected String name;
1.2 protected float pointSize;
protected int size;
protected int style;
// Deprecated Public Methods
1.1# public java.awt.peer.FontPeer getPeer();
}
Hierar chy: Object→ Font(Serializable)
Subc lasses: javax.swing .plaf.FontUIResource
Passed To: Too many methods to list.
Retur ned By: Too many methods to list.
Type Of: FontMetrics.font, javax.swing .border.T itledBorder.titleFont, javax.swing .tree.DefaultTreeCellEditor.font
FontMetrics Ja va 1.0
java.awt serializable PJ1.1
This class repr esents font metrics for a specified Font. The methods allow you to deter-
mine the overall metrics for the font (ascent, descent, and so on) and compute the
width of strings that are to be displayed in a particular font. The FontMetrics() constructor
is protected; you can obtain a FontMetrics object for a font with the getFontMetrics()
method ...