public class DuoBlock extends Block
| Modifier and Type | Field and Description |
|---|---|
static double |
ARC |
static double |
PADDING |
| Constructor and Description |
|---|
DuoBlock(Block... children) |
DuoBlock(java.util.List<Block> children) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2,
double x,
double y,
boolean reversed,
boolean onBackEdge,
int grayLevel) |
double |
getHeight() |
double |
getWidth() |
getBottomHeight, getFirstChildPosition, getLastChildPosition, getTopHeight, grayLevelToColor, isOptional, setOptional, setToDimmedForegroundColor, setToForegroundColorpublic static final double PADDING
public static final double ARC
public DuoBlock(Block... children)
public DuoBlock(java.util.List<Block> children)