swingwt.awt.font
Class GlyphMetrics

java.lang.Object
  extended byswingwt.awt.font.GlyphMetrics

public final class GlyphMetrics
extends java.lang.Object


Field Summary
static byte COMBINING
           
static byte COMPONENT
           
static byte LIGATURE
           
static byte STANDARD
           
static byte WHITESPACE
           
 
Constructor Summary
GlyphMetrics(boolean horizontal, float advanceX, float advanceY, Rectangle2D bounds, byte glyphType)
           
GlyphMetrics(float advance, Rectangle2D bounds, byte glyphType)
           
 
Method Summary
 float getAdvance()
           
 float getAdvanceX()
           
 float getAdvanceY()
           
 Rectangle2D getBounds2D()
           
 float getLSB()
           
 float getRSB()
           
 int getType()
           
 boolean isCombining()
           
 boolean isComponent()
           
 boolean isLigature()
           
 boolean isStandard()
           
 boolean isWhitespace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STANDARD

public static final byte STANDARD
See Also:
Constant Field Values

LIGATURE

public static final byte LIGATURE
See Also:
Constant Field Values

COMBINING

public static final byte COMBINING
See Also:
Constant Field Values

COMPONENT

public static final byte COMPONENT
See Also:
Constant Field Values

WHITESPACE

public static final byte WHITESPACE
See Also:
Constant Field Values
Constructor Detail

GlyphMetrics

public GlyphMetrics(float advance,
                    Rectangle2D bounds,
                    byte glyphType)

GlyphMetrics

public GlyphMetrics(boolean horizontal,
                    float advanceX,
                    float advanceY,
                    Rectangle2D bounds,
                    byte glyphType)
Method Detail

getAdvance

public float getAdvance()

getAdvanceX

public float getAdvanceX()

getAdvanceY

public float getAdvanceY()

getBounds2D

public Rectangle2D getBounds2D()

getLSB

public float getLSB()

getRSB

public float getRSB()

getType

public int getType()

isStandard

public boolean isStandard()

isLigature

public boolean isLigature()

isCombining

public boolean isCombining()

isComponent

public boolean isComponent()

isWhitespace

public boolean isWhitespace()