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)
           
 
Method Summary
 void centerChar(double x, double y, char c, UFont font)
           
 void close()
           
 void closeAction()
           
static void copyEpsToFile(ColorMapper colorMapper, UDrawable udrawable, File f)
           
 void drawEps(String eps, double x, double y)
           
 UClip getClip()
           
 String getEPSCode()
           
 EpsGraphics getEpsGraphics()
           
static String getEpsString(ColorMapper colorMapper, EpsStrategy epsStrategy, UDrawable udrawable)
           
 StringBounder getStringBounder()
           
 void setAntiAliasing(boolean trueForOn)
           
 void setClip(UClip clip)
           
 void startUrl(Url url)
           
 
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

UGraphicEps

public UGraphicEps(ColorMapper colorMapper,
                   EpsStrategy strategy)
Method Detail

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)

setClip

public void setClip(UClip clip)
Specified by:
setClip in interface UGraphic

getClip

public UClip getClip()
Specified by:
getClip in interface ClipContainer

centerChar

public void centerChar(double x,
                       double y,
                       char c,
                       UFont font)
Specified by:
centerChar in interface UGraphic

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

setAntiAliasing

public void setAntiAliasing(boolean trueForOn)
Specified by:
setAntiAliasing in interface UGraphic

startUrl

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

closeAction

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


Copyright © 2012. All Rights Reserved.