org.gnu.pango
Class FontFace

java.lang.Object
  |
  +--org.gnu.glib.GObject
        |
        +--org.gnu.pango.FontFace

public class FontFace
extends GObject

The PangoFontFace structure is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes.


Constructor Summary
FontFace()
           
 
Method Summary
 FontDescription describe()
          Returns the family, style, variant, weight and stretch of a PangoFontFace.
 java.lang.String toString()
          Gets a name representing the style of this face among the different faces in the PangoFontFamily for the face.
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FontFace

public FontFace()
Method Detail

toString

public java.lang.String toString()
Gets a name representing the style of this face among the different faces in the PangoFontFamily for the face. This name is unique among all faces in the family and is suitable for displaying to users.

Overrides:
toString in class java.lang.Object

describe

public FontDescription describe()
Returns the family, style, variant, weight and stretch of a PangoFontFace. The size field of the resulting font description will be unset.


Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net