jas.plot.java1
Class PlotGraphics11
java.lang.Object
  
jas.plot.java1.PlotGraphics11
- All Implemented Interfaces: 
 - PlotGraphics, SetablePlotGraphics
 
public class PlotGraphics11
- extends Object
- implements SetablePlotGraphics
  
 
 
 
| 
Method Summary | 
 void | 
clearClip()
 
            | 
 void | 
clearTransformation()
 
            | 
 BufferedImage | 
createImage(int width,
            int height)
 
            | 
 void | 
drawImage(Image image,
          double x,
          double y,
          ImageObserver observer)
 
            | 
 void | 
drawImage(Image image,
          double x,
          double y,
          int width,
          int height,
          ImageObserver observer)
 
            | 
 void | 
drawLine(double x1,
         double y1,
         double x2,
         double y2)
 
            | 
 void | 
drawOval(double x1,
         double y1,
         double x2,
         double y2)
 
            | 
 void | 
drawPolyLine(double[] x,
             double[] y,
             int n)
 
            | 
 void | 
drawPolySymbol(double[] x,
               double[] y,
               double size,
               int type,
               int n)
 
            | 
 void | 
drawRect(double x1,
         double y1,
         double x2,
         double y2)
 
            | 
 void | 
drawString(String s,
           double x,
           double y)
 
            | 
 void | 
drawSymbol(double x,
           double y,
           double size,
           int type)
 
            | 
static void | 
drawSymbol(Graphics g,
           int x,
           int y,
           int is,
           int type)
 
          This method is made public so it can be used for drawing legends. | 
 void | 
fillRect(double x1,
         double y1,
         double x2,
         double y2)
 
            | 
 Rectangle | 
getClipBounds()
 
            | 
 Font | 
getFont()
 
            | 
 FontMetrics | 
getFontMetrics()
 
            | 
 void | 
setClip(int xmin,
        int xmax,
        int ymin,
        int ymax)
 
            | 
 void | 
setColor(Color c)
 
            | 
 void | 
setFont(Font f)
 
            | 
 void | 
setGraphics(Graphics g)
 
            | 
 void | 
setStroke(Stroke s)
 
            | 
 void | 
setTransformation(Transformation x,
                  Transformation y)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PlotGraphics11
public PlotGraphics11()
setStroke
public void setStroke(Stroke s)
- Specified by:
 setStroke in interface PlotGraphics
 
 
setGraphics
public void setGraphics(Graphics g)
- Specified by:
 setGraphics in interface SetablePlotGraphics
 
 
setTransformation
public void setTransformation(Transformation x,
                              Transformation y)
- Specified by:
 setTransformation in interface PlotGraphics
 
 
clearTransformation
public void clearTransformation()
- Specified by:
 clearTransformation in interface PlotGraphics
 
 
setClip
public void setClip(int xmin,
                    int xmax,
                    int ymin,
                    int ymax)
- Specified by:
 setClip in interface PlotGraphics
 
 
clearClip
public void clearClip()
- Specified by:
 clearClip in interface PlotGraphics
 
 
drawLine
public void drawLine(double x1,
                     double y1,
                     double x2,
                     double y2)
- Specified by:
 drawLine in interface PlotGraphics
 
 
drawPolyLine
public void drawPolyLine(double[] x,
                         double[] y,
                         int n)
- Specified by:
 drawPolyLine in interface PlotGraphics
 
 
fillRect
public void fillRect(double x1,
                     double y1,
                     double x2,
                     double y2)
- Specified by:
 fillRect in interface PlotGraphics
 
 
drawRect
public void drawRect(double x1,
                     double y1,
                     double x2,
                     double y2)
- Specified by:
 drawRect in interface PlotGraphics
 
 
drawOval
public void drawOval(double x1,
                     double y1,
                     double x2,
                     double y2)
- Specified by:
 drawOval in interface PlotGraphics
 
 
setColor
public void setColor(Color c)
- Specified by:
 setColor in interface PlotGraphics
 
 
drawString
public void drawString(String s,
                       double x,
                       double y)
- Specified by:
 drawString in interface PlotGraphics
 
 
getFontMetrics
public FontMetrics getFontMetrics()
- Specified by:
 getFontMetrics in interface PlotGraphics
 
 
setFont
public void setFont(Font f)
- Specified by:
 setFont in interface PlotGraphics
 
 
getFont
public Font getFont()
- Specified by:
 getFont in interface PlotGraphics
 
 
drawPolySymbol
public void drawPolySymbol(double[] x,
                           double[] y,
                           double size,
                           int type,
                           int n)
- Specified by:
 drawPolySymbol in interface PlotGraphics
 
 
drawSymbol
public void drawSymbol(double x,
                       double y,
                       double size,
                       int type)
- Specified by:
 drawSymbol in interface PlotGraphics
 
 
drawImage
public void drawImage(Image image,
                      double x,
                      double y,
                      ImageObserver observer)
- Specified by:
 drawImage in interface PlotGraphics
 
 
drawImage
public void drawImage(Image image,
                      double x,
                      double y,
                      int width,
                      int height,
                      ImageObserver observer)
- Specified by:
 drawImage in interface PlotGraphics
 
 
drawSymbol
public static void drawSymbol(Graphics g,
                              int x,
                              int y,
                              int is,
                              int type)
- This method is made public so it can be used for drawing legends.
 
 
 
getClipBounds
public Rectangle getClipBounds()
- Specified by:
 getClipBounds in interface PlotGraphics
 
 
createImage
public BufferedImage createImage(int width,
                                 int height)
- Specified by:
 createImage in interface PlotGraphics
 
 
Copyright © 2000-2009 FreeHEP. All Rights Reserved.