Package org.scilab.forge.jlatexmath
Class RotateBox
java.lang.Object
org.scilab.forge.jlatexmath.Box
org.scilab.forge.jlatexmath.RotateBox
A box representing a rotated box.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.scilab.forge.jlatexmath.Box
background, children, DEBUG, depth, elderParent, foreground, height, markForDEBUG, parent, shift, type, width
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(Graphics2D g2, float x, float y) Paints this box at the given coordinates using the given graphics context.int
Get the id of the font that will be used the last when this box will be painted.static int
-
Field Details
-
BL
public static final int BL- See Also:
-
BC
public static final int BC- See Also:
-
BR
public static final int BR- See Also:
-
TL
public static final int TL- See Also:
-
TC
public static final int TC- See Also:
-
TR
public static final int TR- See Also:
-
BBL
public static final int BBL- See Also:
-
BBR
public static final int BBR- See Also:
-
BBC
public static final int BBC- See Also:
-
CL
public static final int CL- See Also:
-
CC
public static final int CC- See Also:
-
CR
public static final int CR- See Also:
-
angle
protected double angle
-
-
Constructor Details
-
RotateBox
-
RotateBox
-
RotateBox
-
-
Method Details
-
getOrigin
-
draw
Description copied from class:Box
Paints this box at the given coordinates using the given graphics context. -
getLastFontId
public int getLastFontId()Description copied from class:Box
Get the id of the font that will be used the last when this box will be painted.- Specified by:
getLastFontId
in classBox
- Returns:
- the id of the last font that will be used.
-