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 doublestatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class Box
background, children, DEBUG, depth, elderParent, foreground, height, markForDEBUG, parent, shift, type, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D g2, float x, float y) Paints this box at the given coordinates using the given graphics context.intGet 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:BoxPaints this box at the given coordinates using the given graphics context. -
getLastFontId
public int getLastFontId()Description copied from class:BoxGet the id of the font that will be used the last when this box will be painted.- Specified by:
getLastFontIdin classBox- Returns:
- the id of the last font that will be used.
-