public class LegacyFontMetrics extends Object implements FontMetrics
Constructor and Description |
---|
LegacyFontMetrics(FontMetrics parent,
double fontHeight) |
Modifier and Type | Method and Description |
---|---|
long |
getAscent() |
BaselineInfo |
getBaselines(int codePoint,
BaselineInfo info) |
long |
getCharWidth(int codePoint) |
long |
getDescent() |
long |
getItalicAngle() |
long |
getKerning(int previous,
int codePoint) |
long |
getLeading() |
long |
getMaxAscent() |
long |
getMaxCharAdvance() |
long |
getMaxDescent() |
long |
getMaxHeight() |
FontNativeContext |
getNativeContext() |
long |
getOverlinePosition() |
FontMetrics |
getParent() |
long |
getStrikeThroughPosition() |
long |
getUnderlinePosition() |
long |
getXHeight() |
boolean |
isUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct?
|
public LegacyFontMetrics(FontMetrics parent, double fontHeight)
public boolean isUniformFontMetrics()
isUniformFontMetrics
in interface FontMetrics
public FontMetrics getParent()
public long getAscent()
getAscent
in interface FontMetrics
public long getDescent()
getDescent
in interface FontMetrics
public long getLeading()
getLeading
in interface FontMetrics
public long getXHeight()
getXHeight
in interface FontMetrics
public long getOverlinePosition()
getOverlinePosition
in interface FontMetrics
public long getUnderlinePosition()
getUnderlinePosition
in interface FontMetrics
public long getStrikeThroughPosition()
getStrikeThroughPosition
in interface FontMetrics
public long getMaxAscent()
getMaxAscent
in interface FontMetrics
public long getMaxDescent()
getMaxDescent
in interface FontMetrics
public long getMaxHeight()
getMaxHeight
in interface FontMetrics
public long getMaxCharAdvance()
getMaxCharAdvance
in interface FontMetrics
public long getCharWidth(int codePoint)
getCharWidth
in interface FontMetrics
public long getKerning(int previous, int codePoint)
getKerning
in interface FontMetrics
public BaselineInfo getBaselines(int codePoint, BaselineInfo info)
getBaselines
in interface FontMetrics
public long getItalicAngle()
getItalicAngle
in interface FontMetrics
public FontNativeContext getNativeContext()
getNativeContext
in interface FontMetrics
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.