Package net.sourceforge.plantuml.graphic
Class TextBlockSimple
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.graphic.TextBlockSimple
-
public final class TextBlockSimple extends AbstractTextBlock implements TextBlock
-
-
Constructor Summary
Constructors Constructor Description TextBlockSimple(Display texts, FontConfiguration fontConfiguration, HorizontalAlignment horizontalAlignment, SpriteContainer spriteContainer, double maxMessageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension2DcalculateDimension(StringBounder stringBounder)voiddrawU(UGraphic ug)protected Dimension2DgetTextDimension(StringBounder stringBounder)-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition, getMinMax
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.graphic.TextBlock
getInnerPosition, getMinMax
-
-
-
-
Constructor Detail
-
TextBlockSimple
public TextBlockSimple(Display texts, FontConfiguration fontConfiguration, HorizontalAlignment horizontalAlignment, SpriteContainer spriteContainer, double maxMessageSize)
-
-
Method Detail
-
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimensionin interfaceTextBlock
-
getTextDimension
protected final Dimension2D getTextDimension(StringBounder stringBounder)
-
-