LineMetrics class allows access to the metrics needed to layout characters along a line and to layout of a set of lines. A LineMetrics object encapsulates the measurement information associated with a run of text. Fonts can have different metrics for different ranges of characters. The getLineMetrics methods of {@link java.awt.Font Font} take some text as an argumentand return a LineMetrics object describing the metrics of the initial number of characters in that text, as returned by {@link #getNumChars}.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |