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 |
---|---|
Dimension2D |
calculateDimension(StringBounder stringBounder) |
void |
drawU(UGraphic ug) |
protected 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 Dimension2D calculateDimension(StringBounder stringBounder)
calculateDimension
in interface TextBlock
protected final Dimension2D getTextDimension(StringBounder stringBounder)
Copyright © 2015. All Rights Reserved.