| Klasse java.awt.FontMetrics | 1.0 |
java.lang.Object | +--java.awt.FontMetrics
| Datenelemente | |
|---|---|
| protected Font | font |
| Konstruktoren | |
|---|---|
| protected | FontMetrics(Font font) |
| Methoden | |
|---|---|
| public int | bytesWidth(byte[] data, int off, int len) |
| public int | charsWidth(char[] data, int off, int len) |
| public int | charWidth(int ch) |
| public int | charWidth(char ch) |
| public int | getAscent() |
| public int | getDescent() |
| public Font | getFont() |
| public int | getHeight() |
| public int | getLeading() |
| public LineMetrics | getLineMetrics(String str, Graphics context) ![]() |
| public LineMetrics | getLineMetrics(String str, int beginIndex, int limit, Graphics context) ![]() |
| public LineMetrics | getLineMetrics(char[] chars, int beginIndex, int limit, Graphics context) ![]() |
| public LineMetrics | getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context) ![]() |
| public int | getMaxAdvance() |
| public int | getMaxAscent() |
| public int | getMaxDecent()
Verworfen in Version 1.1. Ersetzt durch getMaxDescent(). |
| public int | getMaxDescent() ![]() |
| public Rectangle2D | getStringBounds(String str, Graphics context) ![]() |
| public Rectangle2D | getStringBounds(String str, int beginIndex, int limit, Graphics context) ![]() |
| public Rectangle2D | getStringBounds(char[] chars, int beginIndex, int limit, Graphics context) ![]() |
| public Rectangle2D | getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context) ![]() |
| public boolean | hasUniformLineMetrics() ![]() |
| public int[] | getWidths() |
| public int | stringWidth(String str) |
| public String | toString() |
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.1]](../../images/marg11.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)
![[1.2]](../../images/marg12.gif)