net.sourceforge.plantuml.graphic
Class TextBlockWidthAdapter

java.lang.Object
  extended by net.sourceforge.plantuml.graphic.TextBlockWidthAdapter
All Implemented Interfaces:
TextBlock, UDrawable3

public class TextBlockWidthAdapter
extends Object
implements TextBlock


Constructor Summary
TextBlockWidthAdapter(TextBlockWidth textBlockWidth, double widthToUse)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
 void drawTOBEREMOVED(ColorMapper colorMapper, Graphics2D g2d, double x, double y)
           
 void drawU(UGraphic ug, double x, double y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextBlockWidthAdapter

public TextBlockWidthAdapter(TextBlockWidth textBlockWidth,
                             double widthToUse)
Method Detail

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.