net.sourceforge.plantuml.eps
Class EpsGraphics

java.lang.Object
  extended by net.sourceforge.plantuml.eps.EpsGraphics
Direct Known Subclasses:
EpsGraphicsMacro

public class EpsGraphics
extends Object


Field Summary
static String END_OF_FILE
           
 
Constructor Summary
EpsGraphics()
           
 
Method Summary
protected  void append(String s, boolean checkConsistence)
           
protected  void appendColor(Color c)
           
protected  void appendColorShort(Color c)
           
 void close()
           
 void closeLink()
           
 void closepath()
           
 void closepathDot()
           
 void curveto(double x1, double y1, double x2, double y2, double x3, double y3)
           
 void curvetoNoMacro(double x1, double y1, double x2, double y2, double x3, double y3)
           
 void drawEps(String eps, double x, double y)
           
 void drawImage(BufferedImage image, double x, double y)
           
protected  void ensureVisible(double x, double y)
           
 void epsEllipse(double x, double y, double xRadius, double yRadius)
           
 void epsEllipseShadow(double x, double y, double xRadius, double yRadius, double deltaShadow)
           
protected  void epsHLine(double x, double ymin, double ymax)
           
 void epsLine(double x1, double y1, double x2, double y2)
           
 void epsPath(double x, double y, UPath path)
           
 void epsPolygon(double... points)
           
 void epsPolygonShadow(double deltaShadow, double... points)
           
 void epsRectangle(double x, double y, double width, double height, double rx, double ry)
           
 void epsRectangle(double x, double y, double width, double height, double rx, double ry, HtmlColorGradient gr, ColorMapper mapper)
           
 void epsRectangleShadow(double x, double y, double width, double height, double rx, double ry, double deltaShadow)
           
 void epsUrlLink(int x, int y, int width, int height, String url)
           
protected  void epsVLine(double y, double xmin, double xmax)
           
 void fill(int windingRule)
           
static String format(double x)
           
protected  String getBodyString()
           
protected  Color getColor()
           
protected  double getDashSpace()
           
protected  double getDashVisible()
           
 String getEPSCode()
           
 void lineto(double x1, double y1)
           
 void linetoNoMacro(double x1, double y1)
           
 void moveto(double x1, double y1)
           
 void movetoNoMacro(double x1, double y1)
           
 void newpath()
           
 void newpathDot()
           
 void openLink(String url)
           
 void quadto(double x1, double y1, double x2, double y2)
           
 void setFillColor(Color c)
           
 void setStrokeColor(Color c)
           
 void setStrokeWidth(String strokeWidth, double dashVisible, double dashSpace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

END_OF_FILE

public static final String END_OF_FILE
See Also:
Constant Field Values
Constructor Detail

EpsGraphics

public EpsGraphics()
Method Detail

ensureVisible

protected final void ensureVisible(double x,
                                   double y)

getColor

protected final Color getColor()

close

public void close()

getEPSCode

public String getEPSCode()

getBodyString

protected String getBodyString()

setStrokeColor

public final void setStrokeColor(Color c)

setFillColor

public void setFillColor(Color c)

setStrokeWidth

public final void setStrokeWidth(String strokeWidth,
                                 double dashVisible,
                                 double dashSpace)

newpathDot

public void newpathDot()

closepathDot

public void closepathDot()

epsLine

public void epsLine(double x1,
                    double y1,
                    double x2,
                    double y2)

epsHLine

protected void epsHLine(double x,
                        double ymin,
                        double ymax)

epsVLine

protected void epsVLine(double y,
                        double xmin,
                        double xmax)

epsPath

public void epsPath(double x,
                    double y,
                    UPath path)

epsPolygon

public void epsPolygon(double... points)

epsRectangle

public void epsRectangle(double x,
                         double y,
                         double width,
                         double height,
                         double rx,
                         double ry)

epsUrlLink

public void epsUrlLink(int x,
                       int y,
                       int width,
                       int height,
                       String url)

epsRectangle

public void epsRectangle(double x,
                         double y,
                         double width,
                         double height,
                         double rx,
                         double ry,
                         HtmlColorGradient gr,
                         ColorMapper mapper)

epsEllipse

public void epsEllipse(double x,
                       double y,
                       double xRadius,
                       double yRadius)

appendColor

protected void appendColor(Color c)

appendColorShort

protected void appendColorShort(Color c)

format

public static String format(double x)

append

protected void append(String s,
                      boolean checkConsistence)

linetoNoMacro

public final void linetoNoMacro(double x1,
                                double y1)

movetoNoMacro

public final void movetoNoMacro(double x1,
                                double y1)

curvetoNoMacro

public final void curvetoNoMacro(double x1,
                                 double y1,
                                 double x2,
                                 double y2,
                                 double x3,
                                 double y3)

moveto

public void moveto(double x1,
                   double y1)

lineto

public void lineto(double x1,
                   double y1)

curveto

public void curveto(double x1,
                    double y1,
                    double x2,
                    double y2,
                    double x3,
                    double y3)

quadto

public void quadto(double x1,
                   double y1,
                   double x2,
                   double y2)

newpath

public void newpath()

closepath

public void closepath()

fill

public void fill(int windingRule)

drawImage

public void drawImage(BufferedImage image,
                      double x,
                      double y)

drawEps

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

getDashVisible

protected final double getDashVisible()

getDashSpace

protected final double getDashSpace()

closeLink

public void closeLink()

openLink

public void openLink(String url)

epsRectangleShadow

public void epsRectangleShadow(double x,
                               double y,
                               double width,
                               double height,
                               double rx,
                               double ry,
                               double deltaShadow)

epsPolygonShadow

public void epsPolygonShadow(double deltaShadow,
                             double... points)

epsEllipseShadow

public void epsEllipseShadow(double x,
                             double y,
                             double xRadius,
                             double yRadius,
                             double deltaShadow)


Copyright © 2014. All Rights Reserved.