public class RotateBox extends Box
Modifier and Type | Field and Description |
---|---|
protected double |
angle |
static int |
BBC |
static int |
BBL |
static int |
BBR |
static int |
BC |
static int |
BL |
static int |
BR |
static int |
CC |
static int |
CL |
static int |
CR |
static int |
TC |
static int |
TL |
static int |
TR |
background, children, DEBUG, depth, elderParent, foreground, height, markForDEBUG, parent, shift, type, width
Constructor and Description |
---|
RotateBox(Box b,
double angle,
float x,
float y) |
RotateBox(Box b,
double angle,
int option) |
RotateBox(Box b,
double angle,
java.awt.geom.Point2D.Float origin) |
Modifier and Type | Method and 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.
|
static int |
getOrigin(java.lang.String option) |
public static final int BL
public static final int BC
public static final int BR
public static final int TL
public static final int TC
public static final int TR
public static final int BBL
public static final int BBR
public static final int BBC
public static final int CL
public static final int CC
public static final int CR
protected double angle
public RotateBox(Box b, double angle, float x, float y)
public RotateBox(Box b, double angle, java.awt.geom.Point2D.Float origin)
public RotateBox(Box b, double angle, int option)
public static int getOrigin(java.lang.String option)
public void draw(java.awt.Graphics2D g2, float x, float y)
Box
public int getLastFontId()
Box
getLastFontId
in class Box