net.sourceforge.plantuml.ugraphic.eps
Class UGraphicEps

java.lang.Object
  extended by net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
      extended by net.sourceforge.plantuml.ugraphic.AbstractUGraphic<EpsGraphics>
          extended by net.sourceforge.plantuml.ugraphic.eps.UGraphicEps
All Implemented Interfaces:
ClipContainer, UGraphic

public class UGraphicEps
extends AbstractUGraphic<EpsGraphics>
implements ClipContainer


Constructor Summary
  UGraphicEps(ColorMapper colorMapper, EpsStrategy strategy)
           
protected UGraphicEps(UGraphicEps other)
           
 
Method Summary
 void close()
           
 void closeAction()
           
static void copyEpsToFile(ColorMapper colorMapper, UDrawable udrawable, File f)
           
protected  AbstractCommonUGraphic copyUGraphic()
           
 void drawEps(String eps, double x, double y)
           
 String getEPSCode()
           
 EpsGraphics getEpsGraphics()
           
static String getEpsString(ColorMapper colorMapper, EpsStrategy epsStrategy, UDrawable udrawable)
           
 StringBounder getStringBounder()
           
 void startUrl(Url url)
           
 void writeImage(OutputStream os, String metadata, int dpi)
           
 
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractUGraphic
afterDraw, beforeDraw, draw, getGraphicObject, manageHiddenAutomatically, registerDriver
 
Methods inherited from class net.sourceforge.plantuml.ugraphic.AbstractCommonUGraphic
apply, flushUg, getClip, getColorMapper, getParam, getTranslateX, getTranslateY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.plantuml.ugraphic.ClipContainer
getClip
 

Constructor Detail

UGraphicEps

protected UGraphicEps(UGraphicEps other)

UGraphicEps

public UGraphicEps(ColorMapper colorMapper,
                   EpsStrategy strategy)
Method Detail

copyUGraphic

protected AbstractCommonUGraphic copyUGraphic()
Specified by:
copyUGraphic in class AbstractCommonUGraphic

close

public void close()

getEPSCode

public String getEPSCode()

getEpsGraphics

public EpsGraphics getEpsGraphics()

getStringBounder

public StringBounder getStringBounder()
Specified by:
getStringBounder in interface UGraphic

drawEps

public void drawEps(String eps,
                    double x,
                    double y)

getEpsString

public static String getEpsString(ColorMapper colorMapper,
                                  EpsStrategy epsStrategy,
                                  UDrawable udrawable)
                           throws IOException
Throws:
IOException

copyEpsToFile

public static void copyEpsToFile(ColorMapper colorMapper,
                                 UDrawable udrawable,
                                 File f)
                          throws IOException
Throws:
IOException

startUrl

public void startUrl(Url url)
Specified by:
startUrl in interface UGraphic

closeAction

public void closeAction()
Specified by:
closeAction in interface UGraphic

writeImage

public void writeImage(OutputStream os,
                       String metadata,
                       int dpi)
                throws IOException
Specified by:
writeImage in interface UGraphic
Throws:
IOException


Copyright © 2013. All Rights Reserved.