public class BoxedCharacter extends AbstractTextBlock implements TextBlock
Constructor and Description |
---|
BoxedCharacter(char c,
double size,
UFont font,
HColor innerCircle,
HColor circle,
HColor fontColor) |
Modifier and Type | Method and Description |
---|---|
XDimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
double |
getPreferredHeight(StringBounder stringBounder) |
double |
getPreferredWidth(StringBounder stringBounder) |
getBackcolor, getInnerPosition, getMagneticBorder, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getInnerPosition, getMagneticBorder, getMinMax
public final double getPreferredWidth(StringBounder stringBounder)
public final double getPreferredHeight(StringBounder stringBounder)
public XDimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock