public class FontGraphics
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
ascent |
java.awt.Color |
color |
java.awt.Font |
font |
java.awt.Graphics |
graphics |
java.awt.Color |
inverseColor |
int |
justificationCode |
java.awt.FontMetrics |
metrics |
FontSpecification |
specification |
| Constructor and Description |
|---|
FontGraphics(FontSpecification specification,
java.awt.Graphics graphics) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Rectangle2D |
getStringBounds(java.lang.String text) |
public FontSpecification specification
public java.awt.FontMetrics metrics
public java.awt.Font font
public java.awt.Graphics graphics
public int ascent
public java.awt.Color color
public java.awt.Color inverseColor
public int justificationCode
public FontGraphics(FontSpecification specification, java.awt.Graphics graphics)