JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.page
Class FontMetricsBase

java.lang.Object
  |
  +--java.awt.FontMetrics
        |
        +--com.klg.jclass.page.FontMetricsBase
All Implemented Interfaces:
Serializable

public class FontMetricsBase
extends FontMetrics

The FontMetricsBase class supplies FontMetrics methods which are missing in the JDK1.1 version of FontMetrics.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.FontMetrics
font
 
Constructor Summary
FontMetricsBase(Font f)
           
 
Method Summary
static Rectangle2D getStringBounds(FontMetrics fm, String text, Graphics gc)
           
 
Methods inherited from class java.awt.FontMetrics
bytesWidth, charsWidth, charWidth, charWidth, getAscent, getDescent, getFont, getHeight, getLeading, getLineMetrics, getLineMetrics, getLineMetrics, getLineMetrics, getMaxAdvance, getMaxAscent, getMaxCharBounds, getMaxDecent, getMaxDescent, getStringBounds, getStringBounds, getStringBounds, getStringBounds, getWidths, hasUniformLineMetrics, stringWidth, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FontMetricsBase

public FontMetricsBase(Font f)
Method Detail

getStringBounds

public static Rectangle2D getStringBounds(FontMetrics fm,
                                          String text,
                                          Graphics gc)

Copyright © 2004 Quest Software Inc..
All rights reserved.