|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.gvt.font.HKernTable
The HKernTable class holds a kerning table (a collection of HKern elements). It provides a more convenient method of looking up kerning values when laying out glyphs.
Constructor Summary | |
HKernTable(HKern[] entries)
Create an HKernTable from an array of HKern entries. |
Method Summary | |
float |
getKerningValue(char character1,
char character2)
Returns the amount of kerning that should be added between the given characters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HKernTable(HKern[] entries)
entries
- The array of HKern elements that represent the kerning entries for the font that this kerning table is associated with.Method Detail |
public float getKerningValue(char character1, char character2)
character1
- The first character in the kerning paircharacter2
- The second character in the kerning pair
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |