|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.swf.FontDefinition.KerningPair
public static class FontDefinition.KerningPair
A Kerning Pair is an adjustment to the advance between two particular glyphs.
Field Summary | |
---|---|
protected double |
adjustment
Description of the Field |
protected int |
code1
Description of the Field |
protected int |
code2
Description of the Field |
Constructor Summary | |
---|---|
FontDefinition.KerningPair(int code1,
int code2,
double adjustment)
Constructor for the KerningPair object |
Method Summary | |
---|---|
double |
getAdjustment()
Gets the adjustment attribute of the KerningPair object |
int |
getCode1()
Gets the code1 attribute of the KerningPair object |
int |
getCode2()
Gets the code2 attribute of the KerningPair object |
void |
setAdjustment(double offset)
Sets the adjustment attribute of the KerningPair object |
void |
setCode1(int code)
Sets the code1 attribute of the KerningPair object |
void |
setCode2(int code)
Sets the code2 attribute of the KerningPair object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int code1
protected int code2
protected double adjustment
Constructor Detail |
---|
public FontDefinition.KerningPair(int code1, int code2, double adjustment)
code1
- Description of the Parametercode2
- Description of the Parameteradjustment
- Description of the ParameterMethod Detail |
---|
public int getCode1()
public int getCode2()
public double getAdjustment()
public void setCode1(int code)
code
- The new code1 valuepublic void setCode2(int code)
code
- The new code2 valuepublic void setAdjustment(double offset)
offset
- The new adjustment value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |