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) |
getInnerPositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInnerPositionprotected 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 TextBlockprotected final Dimension2D getTextDimension(StringBounder stringBounder)
Copyright © 2015. All Rights Reserved.