org.freedesktop.cairo

Class TextExtents

public class TextExtents extends CairoObject

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
protected voidfinalize()
doublegetHeight()
doublegetWidth()
doublegetXAdvance()
doublegetXBearing()
doublegetYAdvance()
doublegetYBearing()

Method Detail

finalize

protected void finalize()

getHeight

public double getHeight()

getWidth

public double getWidth()

getXAdvance

public double getXAdvance()

getXBearing

public double getXBearing()

getYAdvance

public double getYAdvance()

getYBearing

public double getYBearing()