org.freedesktop.cairo

Class TextExtents


public class TextExtents
extends org.freedesktop.cairo.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

double
getHeight()
double
getWidth()
double
getXAdvance()
double
getXBearing()
double
getYAdvance()
double
getYBearing()

Method Details

getHeight

public double getHeight()


getWidth

public double getWidth()


getXAdvance

public double getXAdvance()


getXBearing

public double getXBearing()


getYAdvance

public double getYAdvance()


getYBearing

public double getYBearing()