Package net.sourceforge.plantuml.graphic
Class TextBlockSimple
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.graphic.TextBlockSimple
-
- Direct Known Subclasses:
TextBlockSprited
public class TextBlockSimple extends AbstractTextBlock implements TextBlock
-
-
Constructor Summary
Constructors Modifier Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Dimension2D
calculateDimension(StringBounder stringBounder)
void
drawU(UGraphic ug)
protected java.awt.geom.Dimension2D
getTextDimension(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
protected TextBlockSimple(Display texts, FontConfiguration fontConfiguration, HorizontalAlignment horizontalAlignment, SpriteContainer spriteContainer, double maxMessageSize)
-
TextBlockSimple
public TextBlockSimple(Display texts, FontConfiguration fontConfiguration, HorizontalAlignment horizontalAlignment, SpriteContainer spriteContainer, double maxMessageSize, UFont fontForStereotype, HtmlColor htmlColorForStereotype)
-
-
Method Detail
-
calculateDimension
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlock
-
getTextDimension
protected final java.awt.geom.Dimension2D getTextDimension(StringBounder stringBounder)
-
-