public class GraphicsBox extends Box
Modifier and Type | Field | Description |
---|---|---|
static int |
BICUBIC |
|
static int |
BILINEAR |
|
static int |
NEAREST_NEIGHBOR |
background, children, DEBUG, depth, elderParent, foreground, height, markForDEBUG, parent, shift, type, width
Constructor | Description |
---|---|
GraphicsBox(java.awt.image.BufferedImage image,
float width,
float height,
float size,
int interpolation) |
Modifier and Type | Method | Description |
---|---|---|
void |
draw(java.awt.Graphics2D g2,
float x,
float y) |
Paints this box at the given coordinates using the given graphics context.
|
int |
getLastFontId() |
Get the id of the font that will be used the last when this box will be painted.
|
public static final int BILINEAR
public static final int NEAREST_NEIGHBOR
public static final int BICUBIC
public GraphicsBox(java.awt.image.BufferedImage image, float width, float height, float size, int interpolation)
public void draw(java.awt.Graphics2D g2, float x, float y)
Box
public int getLastFontId()
Box
getLastFontId
in class Box