net.sourceforge.plantuml.ugraphic.g2d
Class UGraphicG2d

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
      extended by net.sourceforge.plantuml.ugraphic.AbstractUGraphic<Graphics2D>
          extended by net.sourceforge.plantuml.ugraphic.g2d.UGraphicG2d
All Implemented Interfaces:
UGraphic

public class UGraphicG2d
extends AbstractUGraphic<Graphics2D>


Constructor Summary
UGraphicG2d(ColorMapper colorMapper, Graphics2D g2d, BufferedImage bufferedImage, double dpiFactor)
           
UGraphicG2d(ColorMapper colorMapper, Graphics2D g2d, BufferedImage bufferedImage, double dpiFactor, AffineTransform affineTransform)
           
 
Method Summary
 void centerChar(double x, double y, char c, UFont font)
           
 void closeAction()
           
 BufferedImage getBufferedImage()
           
protected  double getDpiFactor()
           
 StringBounder getStringBounder()
           
static String getSvgString(ColorMapper colorMapper, UDrawable udrawable)
           
 void setAntiAliasing(boolean trueForOn)
           
 void setClip(UClip uclip)
           
 void startUrl(String url, String tooltip)
           
 
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractUGraphic
createGroup, draw, getGraphicObject, registerDriver
 
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
getColorMapper, getParam, getTranslateX, getTranslateY, setTranslate, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UGraphicG2d

public UGraphicG2d(ColorMapper colorMapper,
                   Graphics2D g2d,
                   BufferedImage bufferedImage,
                   double dpiFactor)

UGraphicG2d

public UGraphicG2d(ColorMapper colorMapper,
                   Graphics2D g2d,
                   BufferedImage bufferedImage,
                   double dpiFactor,
                   AffineTransform affineTransform)
Method Detail

getStringBounder

public StringBounder getStringBounder()

getBufferedImage

public final BufferedImage getBufferedImage()

setClip

public void setClip(UClip uclip)

centerChar

public void centerChar(double x,
                       double y,
                       char c,
                       UFont font)

getSvgString

public static String getSvgString(ColorMapper colorMapper,
                                  UDrawable udrawable)
                           throws IOException
Throws:
IOException

getDpiFactor

protected final double getDpiFactor()

setAntiAliasing

public void setAntiAliasing(boolean trueForOn)

startUrl

public void startUrl(String url,
                     String tooltip)

closeAction

public void closeAction()


Copyright © 2012. All Rights Reserved.