|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaclib.FontInfo
public class FontInfo
This class implements QuickDraw-like definitions for font infos.
MacLib
Field Summary | |
---|---|
short |
ascent
The size above base line for most chars. |
short |
descent
The size below base line for most chars. |
short |
leading
The distance between the descent line and the ascent line below it. |
short |
widMax
The greatest character width. |
Constructor Summary | |
---|---|
FontInfo(short ascent,
short descent,
short widMax,
short leading)
Constructs and initializes a FontInfo object |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a string representation for the font infos. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public short ascent
public short descent
public short widMax
public short leading
Constructor Detail |
---|
public FontInfo(short ascent, short descent, short widMax, short leading)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |