|
|
java > java.awt > java.awt.fontmetrics >
Class: java.awt.FontMetrics java.lang.Object java.awt.FontMetrics
public abstract class FontMetrics extends Object implements Serializable
FIELDS:
CONSTRUCTORS:
| | | protected | FontMetrics(Font font) |
| |
|
|
|
METHODS:
| | | | public | int | bytesWidth(byte[] data, int off, int len) Throws: NullPointerException Throws: IndexOutOfBoundsException |
| | public | int | charWidth(char ch) |
| | public | int | charWidth(int codePoint) |
| | public | int | charsWidth(char[] data, int off, int len) Throws: NullPointerException Throws: IndexOutOfBoundsException |
| | public | int | getAscent() |
| | public | int | getDescent() |
| | public | Font | getFont() |
| | public | FontRenderContext | getFontRenderContext() |
| | public | int | getHeight() |
| | public | int | getLeading() |
| | public | LineMetrics | getLineMetrics(char[] chars, int beginIndex, int limit, Graphics context) |
| | public | LineMetrics | getLineMetrics(String str, int beginIndex, int limit, Graphics context) |
| | public | LineMetrics | getLineMetrics(String str, Graphics context) |
| | public | LineMetrics | getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context) |
| | public | int | getMaxAdvance() |
| | public | int | getMaxAscent() |
| | public | Rectangle2D | getMaxCharBounds(Graphics context) |
| | public | int | getMaxDecent() |
| | public | int | getMaxDescent() |
| | public | Rectangle2D | getStringBounds(char[] chars, int beginIndex, int limit, Graphics context) |
| | public | Rectangle2D | getStringBounds(String str, int beginIndex, int limit, Graphics context) |
| | public | Rectangle2D | getStringBounds(String str, Graphics context) |
| | public | Rectangle2D | getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context) |
| | public | int[] | getWidths() |
| | public | boolean | hasUniformLineMetrics() |
| | public | int | stringWidth(String str) Throws: NullPointerException |
| | public | String | toString() Overrides: Object |
| |
|
|
|
INHERITED METHODS:
| getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|