|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.libraries.fonts.itext.BaseFontFontMetrics
public class BaseFontFontMetrics
Creation-Date: 22.07.2007, 19:04:00
| Constructor Summary | |
|---|---|
BaseFontFontMetrics(com.lowagie.text.pdf.BaseFont baseFont,
float size)
|
|
| Method Summary | |
|---|---|
long |
getAscent()
The font ascent is the distance from the font's baseline to the top of most alphanumeric characters. |
com.lowagie.text.pdf.BaseFont |
getBaseFont()
|
BaselineInfo |
getBaselines(int c,
BaselineInfo info)
Baselines are defined for scripts, not glyphs. |
long |
getCharWidth(int character)
|
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()
|
long |
getOverlinePosition()
|
long |
getStrikeThroughPosition()
|
long |
getUnderlinePosition()
|
long |
getXHeight()
The height of the lowercase 'x'. |
boolean |
isTrueTypeFont()
|
boolean |
isUniformFontMetrics()
Is it guaranteed that the font always returns the same baseline info objct? |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseFontFontMetrics(com.lowagie.text.pdf.BaseFont baseFont,
float size)
| Method Detail |
|---|
public boolean isTrueTypeFont()
public long getAscent()
FontMetrics
getAscent in interface FontMetricspublic long getDescent()
FontMetrics
getDescent in interface FontMetricspublic long getLeading()
FontMetrics
getLeading in interface FontMetricspublic long getXHeight()
FontMetrics
getXHeight in interface FontMetricspublic long getOverlinePosition()
getOverlinePosition in interface FontMetricspublic long getUnderlinePosition()
getUnderlinePosition in interface FontMetricspublic long getStrikeThroughPosition()
getStrikeThroughPosition in interface FontMetricspublic long getItalicAngle()
getItalicAngle in interface FontMetricspublic long getMaxAscent()
getMaxAscent in interface FontMetricspublic long getMaxDescent()
getMaxDescent in interface FontMetricspublic long getMaxHeight()
getMaxHeight in interface FontMetricspublic long getMaxCharAdvance()
getMaxCharAdvance in interface FontMetricspublic long getCharWidth(int character)
getCharWidth in interface FontMetrics
public long getKerning(int previous,
int codePoint)
getKerning in interface FontMetricspublic boolean isUniformFontMetrics()
isUniformFontMetrics in interface FontMetrics
public BaselineInfo getBaselines(int c,
BaselineInfo info)
FontMetrics
getBaselines in interface FontMetricspublic com.lowagie.text.pdf.BaseFont getBaseFont()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||