com.partnersoft.gui
Class FontGraphics
java.lang.Object
com.partnersoft.gui.FontGraphics
public class FontGraphics
- extends java.lang.Object
This object helps manage Graphics-specific details about a font. It is
designed to improve rendering speed.
- Author:
- Paul Reavis Copyright 2001 Partner Software, Inc.
|
Method Summary |
java.awt.geom.Rectangle2D |
getStringBounds(java.lang.String text)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
specification
public FontSpecification specification
metrics
public java.awt.FontMetrics metrics
font
public java.awt.Font font
graphics
public java.awt.Graphics graphics
ascent
public int ascent
color
public java.awt.Color color
inverseColor
public java.awt.Color inverseColor
justificationCode
public int justificationCode
FontGraphics
public FontGraphics(FontSpecification specification,
java.awt.Graphics graphics)
getStringBounds
public java.awt.geom.Rectangle2D getStringBounds(java.lang.String text)