org.apache.fop.fonts.type1
public class AFMCharMetrics extends java.lang.Object
| Constructor and Description |
|---|
AFMCharMetrics() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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.ObjectCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.