FileDocCategorySizeDatePackage
FontExtraMetrics.javaAPI DocAndroid 1.5 API4018Wed May 06 22:41:54 BST 2009org.apache.harmony.awt.gl.font

FontExtraMetrics

public class FontExtraMetrics extends Object
Extra font metrics: sub/superscripts sizes, offsets, average char width.

Fields Summary
private float
lAverageCharWidth
private float
lSubscriptSizeX
private float
lSubscriptSizeY
private float
lSubscriptOffsetX
private float
lSubscriptOffsetY
private float
lSuperscriptSizeX
private float
lSuperscriptSizeY
private float
lSuperscriptOffsetX
private float
lSuperscriptOffsetY
Constructors Summary
public FontExtraMetrics()

        // default constructor
    
public FontExtraMetrics(float[] metrics)

        lAverageCharWidth = metrics[0];
        lSubscriptSizeX = metrics[1];
        lSubscriptSizeY = metrics[2];
        lSubscriptOffsetX = metrics[3];
        lSubscriptOffsetY = metrics[4];
        lSuperscriptSizeX = metrics[5];
        lSuperscriptSizeY = metrics[6];
        lSuperscriptOffsetX = metrics[7];
        lSuperscriptOffsetY = metrics[8];
    
Methods Summary
public floatgetAverageCharWidth()

        return lAverageCharWidth;
    
public floatgetSubscriptOffsetX()

        return lSubscriptOffsetX;
    
public floatgetSubscriptOffsetY()

        return lSubscriptOffsetY;
    
public floatgetSubscriptSizeX()

        return lSubscriptSizeX;
    
public floatgetSubscriptSizeY()

        return lSubscriptSizeY;
    
public floatgetSuperscriptOffsetX()

        return lSuperscriptOffsetX;
    
public floatgetSuperscriptOffsetY()

        return lSuperscriptOffsetY;
    
public floatgetSuperscriptSizeX()

        return lSuperscriptSizeX;
    
public floatgetSuperscriptSizeY()

        return lSuperscriptSizeY;