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