|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.Boxed
org.gnu.pango.FontMetrics
public class FontMetrics
A FontMetrics structure holds the overall metric information for a font (possibly restricted to a script).
| Constructor Summary | |
|---|---|
FontMetrics(FontMetrics orig)
|
|
| Method Summary | |
|---|---|
int |
getApproximateCharWidth()
Gets the approximate character width for the font metrics. |
int |
getApproximateDigitWidth()
Gets the approximate digit width for the font metrics. |
int |
getAscent()
Gets the ascent from the font metrics. |
int |
getDescent()
Gets the descent from the font metrics. |
| Methods inherited from class org.gnu.glib.Boxed |
|---|
equals, getBoxedFromHandle, hashCode |
| Methods inherited from class org.gnu.glib.Struct |
|---|
getHandle, getNullHandle |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FontMetrics(FontMetrics orig)
| Method Detail |
|---|
public int getAscent()
public int getDescent()
public int getApproximateCharWidth()
public int getApproximateDigitWidth()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||