Constructor and Description |
---|
KerningBox(int kerning)
Construct a kerning box with the given kerning value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
genPostScript(PostScriptContext context)
Generate a relative movement in PostScript according to
the kerning value.
|
int |
getDepth()
Returns 0.
|
int |
getHeight()
Returns 0.
|
int |
getWidth()
Returns the width of the kerning box which is defined by
the kerning value.
|
boolean |
isKerning()
Returns true.
|
java.lang.String |
toString()
Return a printable representation of the internal state.
|
getChar, getFont, getFontSize, getHyphen, getPenalty, getPenaltyFlag, getShrinkability, getStretchability, isBox, isGlue, isPenalty, shrink, stretch
public KerningBox(int kerning)
public int getWidth()
public int getHeight()
public int getDepth()
public boolean isKerning()
public java.lang.StringBuffer genPostScript(PostScriptContext context)
genPostScript
in interface Item
genPostScript
in class Box
public java.lang.String toString()
toString
in class java.lang.Object