net.sourceforge.plantuml.graphic
Class TextBlockLineBefore

java.lang.Object
  extended by net.sourceforge.plantuml.graphic.TextBlockLineBefore
All Implemented Interfaces:
TextBlockWidth

public class TextBlockLineBefore
extends Object
implements TextBlockWidth


Constructor Summary
TextBlockLineBefore(TextBlockWidth textBlock)
           
TextBlockLineBefore(TextBlockWidth textBlock, char separator)
           
TextBlockLineBefore(TextBlockWidth textBlock, char separator, TextBlock title)
           
 
Method Summary
 Dimension2D calculateDimension(StringBounder stringBounder)
           
static void drawLine(UGraphic ug, double x, double y, double widthToUse, char separator)
           
 void drawU(UGraphic ug, double x, double y, double widthToUse)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextBlockLineBefore

public TextBlockLineBefore(TextBlockWidth textBlock,
                           char separator,
                           TextBlock title)

TextBlockLineBefore

public TextBlockLineBefore(TextBlockWidth textBlock,
                           char separator)

TextBlockLineBefore

public TextBlockLineBefore(TextBlockWidth textBlock)
Method Detail

calculateDimension

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

drawU

public void drawU(UGraphic ug,
                  double x,
                  double y,
                  double widthToUse)
Specified by:
drawU in interface TextBlockWidth

drawLine

public static void drawLine(UGraphic ug,
                            double x,
                            double y,
                            double widthToUse,
                            char separator)


Copyright © 2012. All Rights Reserved.