net.sourceforge.plantuml.graphic
Class TextBlockWidthAdapter
java.lang.Object
net.sourceforge.plantuml.graphic.TextBlockWidthAdapter
- All Implemented Interfaces:
- TextBlock, UDrawable3
public class TextBlockWidthAdapter
- extends Object
- implements TextBlock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextBlockWidthAdapter
public TextBlockWidthAdapter(TextBlockWidth textBlockWidth,
double widthToUse)
drawU
public void drawU(UGraphic ug,
double x,
double y)
- Specified by:
drawU
in interface UDrawable3
calculateDimension
public Dimension2D calculateDimension(StringBounder stringBounder)
- Specified by:
calculateDimension
in interface TextBlock
drawTOBEREMOVED
public void drawTOBEREMOVED(ColorMapper colorMapper,
Graphics2D g2d,
double x,
double y)
- Specified by:
drawTOBEREMOVED
in interface TextBlock
Copyright © 2012. All Rights Reserved.