public interface FontMetrics
Modifier and Type | Method and Description |
---|---|
long |
getAscent()
The font ascent is the distance from the font's baseline to the top of most alphanumeric characters.
|
BaselineInfo |
getBaselines(int codePoint,
BaselineInfo info)
Baselines are defined for scripts, not glyphs.
|
long |
getCharWidth(int codePoint) |
long |
getDescent()
The font descent is the distance from the font's baseline to the bottom of most alphanumeric characters.
|
long |
getItalicAngle() |
long |
getKerning(int previous,
int codePoint) |
long |
getLeading()
The standard leading, or interline spacing, is the logical amount of space to be reserved between the descent of
one line of text and the ascent of the next line.
|
long |
getMaxAscent() |
long |
getMaxCharAdvance() |
long |
getMaxDescent() |
long |
getMaxHeight() |
FontNativeContext |
getNativeContext() |
long |
getOverlinePosition() |
long |
getStrikeThroughPosition() |
long |
getUnderlinePosition() |
long |
getXHeight()
The height of the lowercase 'x'.
|
boolean |
isUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct?
|
long getAscent()
long getDescent()
long getLeading()
long getXHeight()
long getOverlinePosition()
long getUnderlinePosition()
long getStrikeThroughPosition()
long getMaxAscent()
long getMaxDescent()
long getMaxHeight()
long getMaxCharAdvance()
long getCharWidth(int codePoint)
long getKerning(int previous, int codePoint)
long getItalicAngle()
BaselineInfo getBaselines(int codePoint, BaselineInfo info)
codePoint
- info
- boolean isUniformFontMetrics()
FontNativeContext getNativeContext()