Class EpsGraphics

  • Direct Known Subclasses:
    EpsGraphicsMacro

    public class EpsGraphics
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static long COEF  
      static java.lang.String END_OF_FILE  
    • Constructor Summary

      Constructors 
      Constructor Description
      EpsGraphics()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void append​(java.lang.String s, boolean checkConsistence)  
      protected void appendColor​(java.awt.Color c)  
      protected void appendColorShort​(java.awt.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 drawBezier​(java.util.List<XCubicCurve2D> beziers, double x, double y)  
      void drawEps​(java.lang.String eps, double x, double y)  
      void drawImage​(java.awt.image.BufferedImage image, double x, double y)  
      void drawOk​(DotPath dotPath, double x, double y)  
      protected void ensureVisible​(double x, double y)  
      void epsEllipse​(double x, double y, double xRadius, double yRadius)  
      void epsEllipse​(double x, double y, double xRadius, double yRadius, double start, double extend)  
      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 epsPolygon​(HColorGradient gr, ColorMapper mapper, 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, HColorGradient 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, java.lang.String url)  
      protected void epsVLine​(double y, double xmin, double xmax)  
      void fill​(int windingRule)  
      static java.lang.String formatSimple4​(double x)  
      protected java.lang.String getBodyString()  
      protected java.awt.Color getColor()  
      protected long getDashSpace()  
      protected long getDashVisible()  
      java.lang.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​(java.lang.String url)  
      void quadto​(double x1, double y1, double x2, double y2)  
      void setFillColor​(java.awt.Color c)  
      void setStrokeColor​(java.awt.Color c)  
      void setStrokeWidth​(double strokeWidth, double dashVisible, double dashSpace)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EpsGraphics

        public EpsGraphics()
    • Method Detail

      • ensureVisible

        protected final void ensureVisible​(double x,
                                           double y)
      • getColor

        protected final java.awt.Color getColor()
      • close

        public final void close()
      • getEPSCode

        public final java.lang.String getEPSCode()
      • getBodyString

        protected java.lang.String getBodyString()
      • setStrokeColor

        public final void setStrokeColor​(java.awt.Color c)
      • setFillColor

        public final void setFillColor​(java.awt.Color c)
      • setStrokeWidth

        public final void setStrokeWidth​(double strokeWidth,
                                         double dashVisible,
                                         double dashSpace)
      • newpathDot

        public final void newpathDot()
      • closepathDot

        public final void closepathDot()
      • epsLine

        public final 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 final void epsPath​(double x,
                                  double y,
                                  UPath path)
      • epsPolygon

        public final void epsPolygon​(double... points)
      • epsRectangle

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

        public final void epsRectangle​(double x,
                                       double y,
                                       double width,
                                       double height,
                                       double rx,
                                       double ry,
                                       HColorGradient gr,
                                       ColorMapper mapper)
      • epsEllipse

        public final void epsEllipse​(double x,
                                     double y,
                                     double xRadius,
                                     double yRadius,
                                     double start,
                                     double extend)
      • epsEllipse

        public final void epsEllipse​(double x,
                                     double y,
                                     double xRadius,
                                     double yRadius)
      • appendColor

        protected final void appendColor​(java.awt.Color c)
      • appendColorShort

        protected final void appendColorShort​(java.awt.Color c)
      • formatSimple4

        public static java.lang.String formatSimple4​(double x)
      • append

        protected void append​(java.lang.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 final void drawImage​(java.awt.image.BufferedImage image,
                                    double x,
                                    double y)
      • drawEps

        public final void drawEps​(java.lang.String eps,
                                  double x,
                                  double y)
      • getDashVisible

        protected final long getDashVisible()
      • getDashSpace

        protected final long getDashSpace()
      • closeLink

        public final void closeLink()
      • epsUrlLink

        public final void epsUrlLink​(int x,
                                     int y,
                                     int width,
                                     int height,
                                     java.lang.String url)
      • openLink

        public final void openLink​(java.lang.String url)
      • epsRectangleShadow

        public final void epsRectangleShadow​(double x,
                                             double y,
                                             double width,
                                             double height,
                                             double rx,
                                             double ry,
                                             double deltaShadow)
      • epsPolygonShadow

        public final void epsPolygonShadow​(double deltaShadow,
                                           double... points)
      • epsEllipseShadow

        public final void epsEllipseShadow​(double x,
                                           double y,
                                           double xRadius,
                                           double yRadius,
                                           double deltaShadow)
      • drawOk

        public void drawOk​(DotPath dotPath,
                           double x,
                           double y)
      • drawBezier

        public void drawBezier​(java.util.List<XCubicCurve2D> beziers,
                               double x,
                               double y)