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 |
---|---|
Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
double |
getPreferredHeight(StringBounder stringBounder) |
double |
getPreferredWidth(StringBounder stringBounder) |
getInnerPosition, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInnerPosition, getMinMax
public final double getPreferredWidth(StringBounder stringBounder)
public final double getPreferredHeight(StringBounder stringBounder)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock