Package net.sourceforge.plantuml.graphic
Class TextBlockWidthAdapter
- java.lang.Object
-
- net.sourceforge.plantuml.graphic.TextBlockWidthAdapter
-
- All Implemented Interfaces:
TextBlockWidth
public class TextBlockWidthAdapter extends java.lang.Object implements TextBlockWidth
-
-
Constructor Summary
Constructors Constructor Description TextBlockWidthAdapter(TextBlock textBlock, double widthToUse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextBlock
asTextBlock(double widthToUse)
java.awt.geom.Dimension2D
calculateDimension(StringBounder stringBounder)
void
drawU(UGraphic ug)
-
-
-
Constructor Detail
-
TextBlockWidthAdapter
public TextBlockWidthAdapter(TextBlock textBlock, double widthToUse)
-
-
Method Detail
-
drawU
public void drawU(UGraphic ug)
-
calculateDimension
public java.awt.geom.Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interfaceTextBlockWidth
-
asTextBlock
public TextBlock asTextBlock(double widthToUse)
- Specified by:
asTextBlock
in interfaceTextBlockWidth
-
-