public class HorizontalRule extends Box
background, children, DEBUG, depth, elderParent, foreground, height, markForDEBUG, parent, shift, type, width
Constructor | Description |
---|---|
HorizontalRule(float thickness,
float width,
float s) |
|
HorizontalRule(float thickness,
float width,
float s,
boolean trueShift) |
|
HorizontalRule(float thickness,
float width,
float s,
java.awt.Color c) |
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 HorizontalRule(float thickness, float width, float s)
public HorizontalRule(float thickness, float width, float s, boolean trueShift)
public HorizontalRule(float thickness, float width, float s, java.awt.Color c)
public void draw(java.awt.Graphics2D g2, float x, float y)
Box
public int getLastFontId()
Box
getLastFontId
in class Box