|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.type1.AFMCharMetrics
public class AFMCharMetrics
Holds the metrics of a single character from an AFM file.
Constructor Summary | |
---|---|
AFMCharMetrics()
|
Method Summary | |
---|---|
java.awt.geom.RectangularShape |
getBBox()
Returns the character's bounding box. |
int |
getCharCode()
Returns the character code. |
java.lang.String |
getCharName()
Returns the PostScript character name. |
java.lang.String |
getUnicodeSequence()
Returns the Unicode sequence for this character. |
double |
getWidthX()
Returns the progression dimension in x-direction. |
double |
getWidthY()
Returns the progression dimension in y-direction. |
boolean |
hasCharCode()
Indicates whether the character has a character code, i.e. |
void |
setBBox(java.awt.geom.RectangularShape box)
Sets the character's bounding box. |
void |
setCharCode(int charCode)
Sets the character code. |
void |
setCharName(java.lang.String charName)
Sets the PostScript character name. |
void |
setUnicodeSequence(java.lang.String unicodeSequence)
Sets the Unicode sequence for this character. |
void |
setWidthX(double widthX)
Sets the progression dimension in x-direction |
void |
setWidthY(double widthY)
Sets the progression dimension in y-direction |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AFMCharMetrics()
Method Detail |
---|
public int getCharCode()
public boolean hasCharCode()
public void setCharCode(int charCode)
charCode
- the charCode to setpublic java.lang.String getUnicodeSequence()
public void setUnicodeSequence(java.lang.String unicodeSequence)
unicodeSequence
- the Unicode sequencepublic java.lang.String getCharName()
public void setCharName(java.lang.String charName)
charName
- the charName to setpublic double getWidthX()
public void setWidthX(double widthX)
widthX
- the widthX to setpublic double getWidthY()
public void setWidthY(double widthY)
widthY
- the widthY to setpublic java.awt.geom.RectangularShape getBBox()
public void setBBox(java.awt.geom.RectangularShape box)
box
- the bounding boxpublic java.lang.String toString()
toString
in class java.lang.Object
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |