org.apache.batik.gvt.font

Class AWTGlyphGeometryCache.Value

public static class AWTGlyphGeometryCache.Value extends Object

The object that holds glyph geometry.
Field Summary
protected Rectangle2DgmB
protected Shapeoutline
protected Rectangle2DoutlineBounds
Constructor Summary
Value(Shape outline, Rectangle2D gmB)
Constructs a new Value with the specified parameter.
Method Summary
Rectangle2DgetBounds2D()
Returns the bounds of the glyph according to its glyph metrics.
ShapegetOutline()
Returns the outline of the glyph.
Rectangle2DgetOutlineBounds2D()
Returns the bounds of the outline.

Field Detail

gmB

protected Rectangle2D gmB

outline

protected Shape outline

outlineBounds

protected Rectangle2D outlineBounds

Constructor Detail

Value

public Value(Shape outline, Rectangle2D gmB)
Constructs a new Value with the specified parameter.

Method Detail

getBounds2D

public Rectangle2D getBounds2D()
Returns the bounds of the glyph according to its glyph metrics.

getOutline

public Shape getOutline()
Returns the outline of the glyph.

getOutlineBounds2D

public Rectangle2D getOutlineBounds2D()
Returns the bounds of the outline.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.