org.freedesktop.cairo
Class TextExtents

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.freedesktop.cairo.TextExtents

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.freedesktop.cairo.TextExtents. As this package was never correctly implemented in java-gnome 2.x, any new code written will likely have a considerably different public API.

public class TextExtents
extends org.gnu.glib.Struct

The TextExtents stores the extents of a single glyph or a string of glyphs in user-space coordinates. Because text extents are in user-space coordinates, they don't scale along with the current transformation matrix.


Method Summary
 double getHeight()
          Deprecated.  
 double getWidth()
          Deprecated.  
 double getXAdvance()
          Deprecated.  
 double getXBearing()
          Deprecated.  
 double getYAdvance()
          Deprecated.  
 double getYBearing()
          Deprecated.  
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXBearing

public double getXBearing()
Deprecated. 

getYBearing

public double getYBearing()
Deprecated. 

getWidth

public double getWidth()
Deprecated. 

getHeight

public double getHeight()
Deprecated. 

getXAdvance

public double getXAdvance()
Deprecated. 

getYAdvance

public double getYAdvance()
Deprecated.