public final class TextBlockSimple extends AbstractTextBlock implements TextBlock
Constructor and Description |
---|
TextBlockSimple(Display texts,
FontConfiguration fontConfiguration,
HorizontalAlignment horizontalAlignment,
SpriteContainer spriteContainer,
double maxMessageSize) |
Modifier and Type | Method and Description |
---|---|
Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
protected Dimension2D |
getTextDimension(StringBounder stringBounder) |
getInnerPosition, getMinMax
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInnerPosition, getMinMax
public TextBlockSimple(Display texts, FontConfiguration fontConfiguration, HorizontalAlignment horizontalAlignment, SpriteContainer spriteContainer, double maxMessageSize)
public Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
protected final Dimension2D getTextDimension(StringBounder stringBounder)