Package org.scilab.forge.jlatexmath
Class RotateBox
- java.lang.Object
-
- org.scilab.forge.jlatexmath.Box
-
- org.scilab.forge.jlatexmath.RotateBox
-
public class RotateBox extends Box
A box representing a rotated box.
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class org.scilab.forge.jlatexmath.Box
background, children, DEBUG, depth, elderParent, foreground, height, markForDEBUG, parent, shift, type, width
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.static int
getOrigin(java.lang.String option)
-
-
-
Field Detail
-
BL
public static final int BL
- See Also:
- Constant Field Values
-
BC
public static final int BC
- See Also:
- Constant Field Values
-
BR
public static final int BR
- See Also:
- Constant Field Values
-
TL
public static final int TL
- See Also:
- Constant Field Values
-
TC
public static final int TC
- See Also:
- Constant Field Values
-
TR
public static final int TR
- See Also:
- Constant Field Values
-
BBL
public static final int BBL
- See Also:
- Constant Field Values
-
BBR
public static final int BBR
- See Also:
- Constant Field Values
-
BBC
public static final int BBC
- See Also:
- Constant Field Values
-
CL
public static final int CL
- See Also:
- Constant Field Values
-
CC
public static final int CC
- See Also:
- Constant Field Values
-
CR
public static final int CR
- See Also:
- Constant Field Values
-
angle
protected double angle
-
-
Method Detail
-
getOrigin
public static int getOrigin(java.lang.String option)
-
draw
public void draw(java.awt.Graphics2D g2, float x, float y)
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.
-
-