net.sourceforge.plantuml.ugraphic.g2d
Class DriverTextG2d

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.g2d.DriverTextG2d
All Implemented Interfaces:
UDriver<Graphics2D>

public class DriverTextG2d
extends Object
implements UDriver<Graphics2D>


Constructor Summary
DriverTextG2d()
           
 
Method Summary
static Dimension2D calculateDimension(StringBounder stringBounder, UFont font, String text)
           
 void draw(UShape ushape, double x, double y, ColorMapper mapper, UParam param, Graphics2D g2d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverTextG2d

public DriverTextG2d()
Method Detail

draw

public void draw(UShape ushape,
                 double x,
                 double y,
                 ColorMapper mapper,
                 UParam param,
                 Graphics2D g2d)
Specified by:
draw in interface UDriver<Graphics2D>

calculateDimension

public static Dimension2D calculateDimension(StringBounder stringBounder,
                                             UFont font,
                                             String text)


Copyright © 2011. All Rights Reserved.