jas.plot.java1
Class PlotGraphics11
java.lang.Object
|
+--jas.plot.java1.PlotGraphics11
- All Implemented Interfaces:
- PlotGraphics, SetablePlotGraphics
- public class PlotGraphics11
- extends java.lang.Object
- implements SetablePlotGraphics
Method Summary |
void |
clearClip()
|
void |
clearTransformation()
|
void |
drawImage(java.awt.Image image,
double x,
double y,
java.awt.image.ImageObserver observer)
|
void |
drawImage(java.awt.Image image,
double x,
double y,
int width,
int height,
java.awt.image.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(java.lang.String s,
double x,
double y)
|
void |
drawSymbol(double x,
double y,
double size,
int type)
|
static void |
drawSymbol(java.awt.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)
|
java.awt.Font |
getFont()
|
java.awt.FontMetrics |
getFontMetrics()
|
void |
setClip(int xmin,
int xmax,
int ymin,
int ymax)
|
void |
setColor(java.awt.Color c)
|
void |
setFont(java.awt.Font f)
|
void |
setGraphics(java.awt.Graphics g)
|
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()
setGraphics
public void setGraphics(java.awt.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(java.awt.Color c)
- Specified by:
setColor
in interface PlotGraphics
drawString
public void drawString(java.lang.String s,
double x,
double y)
- Specified by:
drawString
in interface PlotGraphics
getFontMetrics
public java.awt.FontMetrics getFontMetrics()
- Specified by:
getFontMetrics
in interface PlotGraphics
setFont
public void setFont(java.awt.Font f)
- Specified by:
setFont
in interface PlotGraphics
getFont
public java.awt.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(java.awt.Image image,
double x,
double y,
java.awt.image.ImageObserver observer)
- Specified by:
drawImage
in interface PlotGraphics
drawImage
public void drawImage(java.awt.Image image,
double x,
double y,
int width,
int height,
java.awt.image.ImageObserver observer)
- Specified by:
drawImage
in interface PlotGraphics
drawSymbol
public static void drawSymbol(java.awt.Graphics g,
int x,
int y,
int is,
int type)
- This method is made public so it can be used for drawing legends.