java.lang.Object | |
↳ | android.graphics.Paint.FontMetrics |
Class that describes the various metrics for a font at a given text size. Remember, Y values increase going down, so those values will be positive, and values that measure distances going up will be negative. This class is returned by getFontMetrics().
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
ascent | The recommended distance above the baseline for singled spaced text. | |||||||||
|
bottom | The maximum distance below the baseline for the lowest glyph in the font at a given text size. | |||||||||
|
descent | The recommended distance below the baseline for singled spaced text. | |||||||||
|
leading | The recommended additional space to add between lines of text. | |||||||||
|
top | The maximum distance above the baseline for the tallest glyph in the font at a given text size. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The recommended distance above the baseline for singled spaced text.
The maximum distance below the baseline for the lowest glyph in the font at a given text size.
The recommended distance below the baseline for singled spaced text.
The recommended additional space to add between lines of text.
The maximum distance above the baseline for the tallest glyph in the font at a given text size.