net.sourceforge.plantuml.salt.element
Class ElementText

java.lang.Object
  extended by net.sourceforge.plantuml.salt.element.ElementText
All Implemented Interfaces:
Element

public class ElementText
extends Object
implements Element


Constructor Summary
ElementText(List<String> text, UFont font, SpriteContainer spriteContainer)
           
 
Method Summary
 void drawU(UGraphic ug, double x, double y, int zIndex, Dimension2D dimToUse)
           
 Dimension2D getPreferredDimension(StringBounder stringBounder, double x, double y)
           
 String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementText

public ElementText(List<String> text,
                   UFont font,
                   SpriteContainer spriteContainer)
Method Detail

getPreferredDimension

public Dimension2D getPreferredDimension(StringBounder stringBounder,
                                         double x,
                                         double y)
Specified by:
getPreferredDimension in interface Element

drawU

public void drawU(UGraphic ug,
                  double x,
                  double y,
                  int zIndex,
                  Dimension2D dimToUse)
Specified by:
drawU in interface Element

getText

public final String getText()


Copyright © 2012. All Rights Reserved.