net.sourceforge.plantuml.ugraphic
Class UGraphicUtils

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.UGraphicUtils

public abstract class UGraphicUtils
extends Object


Constructor Summary
UGraphicUtils()
           
 
Method Summary
static UDrawable translate(UDrawable d, double dx, double dy)
           
static UGraphic translate(UGraphic g, double tx, double ty)
           
static void writeImage(OutputStream os, String metadata, FileFormatOption fileFormatOption, ColorMapper colorMapper, HtmlColor background, TextBlock image)
           
static void writeImage(OutputStream os, UGraphic ug, String metadata, int dpi)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UGraphicUtils

public UGraphicUtils()
Method Detail

translate

public static UDrawable translate(UDrawable d,
                                  double dx,
                                  double dy)

translate

public static UGraphic translate(UGraphic g,
                                 double tx,
                                 double ty)

writeImage

public static void writeImage(OutputStream os,
                              String metadata,
                              FileFormatOption fileFormatOption,
                              ColorMapper colorMapper,
                              HtmlColor background,
                              TextBlock image)
                       throws IOException
Throws:
IOException

writeImage

public static void writeImage(OutputStream os,
                              UGraphic ug,
                              String metadata,
                              int dpi)
                       throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.