Package net.sourceforge.plantuml.graphic
Class TextBlockRecentred
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.AbstractTextBlock
-
- net.sourceforge.plantuml.graphic.TextBlockRecentred
-
- All Implemented Interfaces:
TextBlock
,UDrawable
,TextBlockBackcolored
,UShape
public class TextBlockRecentred extends AbstractTextBlock implements TextBlockBackcolored
-
-
Constructor Summary
Constructors Constructor Description TextBlockRecentred(TextBlock textBlock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dimension2D
calculateDimension(StringBounder stringBounder)
void
drawU(UGraphic ug)
HColor
getBackcolor()
MinMax
getMinMax(StringBounder stringBounder)
-
Methods inherited from class net.sourceforge.plantuml.graphic.AbstractTextBlock
getInnerPosition
-
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
-
-
-
-
Constructor Detail
-
TextBlockRecentred
public TextBlockRecentred(TextBlock textBlock)
-
-
Method Detail
-
getMinMax
public MinMax getMinMax(StringBounder stringBounder)
- Specified by:
getMinMax
in interfaceTextBlock
- Overrides:
getMinMax
in classAbstractTextBlock
-
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlock
-
getBackcolor
public HColor getBackcolor()
- Specified by:
getBackcolor
in interfaceTextBlockBackcolored
-
-