net.sourceforge.plantuml.graphic
Class TextBlockWidthAdapter

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

public class TextBlockWidthAdapter
extends Object
implements TextBlock


Constructor Summary
TextBlockWidthAdapter(TextBlockWidth textBlockWidth, double widthToUse)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
 void drawU(UGraphic ug)
           
 
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)
Specified by:
drawU in interface UDrawable

calculateDimension

public Dimension2D calculateDimension(StringBounder stringBounder)
Specified by:
calculateDimension in interface TextBlock


Copyright © 2013. All Rights Reserved.