|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Font
Font Interface.
| Method Summary | |
|---|---|
FontKey |
getActualFontKey()
Returns the actual FontKey for this font. |
FixedDimen |
getActualSize()
Returns the actual size of the font. |
int |
getCheckSum()
Returns the check sum of the font. |
FixedGlue |
getDepth(UnicodeChar uc)
Returns the depth of the character. |
FixedDimen |
getDesignSize()
Returns the design size of the font. |
long |
getEfCode(UnicodeChar uc)
Getter for the ef code. |
FixedDimen |
getEm()
Returns the size of 'M'. |
FixedDimen |
getEx()
Returns the size of 'x'. |
FixedDimen |
getFontDimen(java.lang.String name)
Returns the size of the parameter with the name 'name'. |
FontKey |
getFontKey()
Returns the FontKey for this font. |
java.lang.String |
getFontName()
Returns the name of the font. |
FixedGlue |
getHeight(UnicodeChar uc)
Returns the height of a character. |
UnicodeChar |
getHyphenChar()
Returns the hyphen character. |
FixedDimen |
getItalicCorrection(UnicodeChar uc)
Returns the italic correction of a character. |
FixedDimen |
getKerning(UnicodeChar uc1,
UnicodeChar uc2)
Returns the kerning between two characters. |
UnicodeChar |
getLigature(UnicodeChar uc1,
UnicodeChar uc2)
Returns the ligature for two characters. |
FixedCount |
getScaleFactor()
Returns the scale factor of the font. |
UnicodeChar |
getSkewChar()
Returns the skew char. |
FixedGlue |
getSpace()
Returns the size of the 'space'. |
FixedGlue |
getWidth(UnicodeChar uc)
Returns the width of a character. |
boolean |
hasGlyph(UnicodeChar uc)
Determine whether the glyph for a given character is present in this font. |
void |
setEfCode(UnicodeChar uc,
long code)
Setter for the ef code. |
void |
setFontDimen(java.lang.String name,
Dimen value)
Set the new value for the font parameter. |
void |
setHyphenChar(UnicodeChar uc)
Set the hyphen character. |
void |
setSkewChar(UnicodeChar uc)
Set the skew character. |
| Method Detail |
|---|
FontKey getActualFontKey()
FixedDimen getActualSize()
int getCheckSum()
FixedGlue getDepth(UnicodeChar uc)
uc - the character
FixedDimen getDesignSize()
long getEfCode(UnicodeChar uc)
uc - the character
FixedDimen getEm()
FixedDimen getEx()
FixedDimen getFontDimen(java.lang.String name)
The size are multiples of the design size!
name - The name of the parameter.
FontKey getFontKey()
java.lang.String getFontName()
FixedGlue getHeight(UnicodeChar uc)
uc - the character
UnicodeChar getHyphenChar()
FixedDimen getItalicCorrection(UnicodeChar uc)
uc - the character
FixedDimen getKerning(UnicodeChar uc1,
UnicodeChar uc2)
uc1 - the first characteruc2 - the second character
UnicodeChar getLigature(UnicodeChar uc1,
UnicodeChar uc2)
uc1 - the first characteruc2 - the second character
FixedCount getScaleFactor()
UnicodeChar getSkewChar()
FixedGlue getSpace()
FixedGlue getWidth(UnicodeChar uc)
uc - the character
boolean hasGlyph(UnicodeChar uc)
uc - the character
true iff the glyph is present
void setEfCode(UnicodeChar uc,
long code)
uc - the charactercode - the associated code
void setFontDimen(java.lang.String name,
Dimen value)
name - the name of the parametervalue - the value to setvoid setHyphenChar(UnicodeChar uc)
uc - the hyphen charactervoid setSkewChar(UnicodeChar uc)
uc - the skew character
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||