Documentation of 'jas2.plot.PlotGraphics' Java class
PlotGraphics
jas2.plot

Interface PlotGraphics

  • All Known Subinterfaces:
    SetablePlotGraphics
    All Known Implementing Classes:
    PlotGraphics11, PlotGraphics12


    public interface PlotGraphics
    This interface serves two purposes:
    1. To provide an abstract interface which can be used to drive either a JDK1.1 Graphics class, or a JDK1.2 Graphics2D class.
    2. To provide an mechanism to allow drawing of graphics objects in plot coordinate space.
    • Method Detail

      • setStroke

        void setStroke(java.awt.Stroke s)
      • setColor

        void setColor(java.awt.Color c)
      • drawLine

        void drawLine(double x1,
                      double y1,
                      double x2,
                      double y2)
      • fillRect

        void fillRect(double x1,
                      double y1,
                      double x2,
                      double y2)
      • drawRect

        void drawRect(double x1,
                      double y1,
                      double x2,
                      double y2)
      • drawString

        void drawString(java.lang.String s,
                        double x,
                        double y)
      • drawPolyLine

        void drawPolyLine(double[] x,
                          double[] y,
                          int n)
      • drawOval

        void drawOval(double x,
                      double y,
                      double width,
                      double height)
      • drawSymbol

        void drawSymbol(double x,
                        double y,
                        double size,
                        int type)
      • drawPolySymbol

        void drawPolySymbol(double[] x,
                            double[] y,
                            double size,
                            int type,
                            int n)
      • drawImage

        void drawImage(java.awt.Image image,
                       double x,
                       double y,
                       java.awt.image.ImageObserver observer)
      • drawImage

        void drawImage(java.awt.Image image,
                       double x,
                       double y,
                       int width,
                       int height,
                       java.awt.image.ImageObserver observer)
      • getFontMetrics

        java.awt.FontMetrics getFontMetrics()
      • setFont

        void setFont(java.awt.Font f)
      • getFont

        java.awt.Font getFont()
      • clearTransformation

        void clearTransformation()
      • setClip

        void setClip(int xmin,
                     int xmax,
                     int ymin,
                     int ymax)
      • clearClip

        void clearClip()
      • getClipBounds

        java.awt.Rectangle getClipBounds()
      • createImage

        java.awt.image.BufferedImage createImage(int width,
                                                 int height)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.