jas2.plot.java1
Class PlotGraphics11
- java.lang.Object
-
- jas2.plot.java1.PlotGraphics11
-
- All Implemented Interfaces:
- PlotGraphics, SetablePlotGraphics
public class PlotGraphics11 extends java.lang.Object implements SetablePlotGraphics
-
-
Field Summary
-
Fields inherited from interface jas2.plot.PlotGraphics
SYMBOL_BOX, SYMBOL_CIRCLE, SYMBOL_CROSS, SYMBOL_DIAMOND, SYMBOL_DOT, SYMBOL_HORIZ_LINE, SYMBOL_SQUARE, SYMBOL_STAR, SYMBOL_TRIANGLE, SYMBOL_VERT_LINE
-
-
Constructor Summary
Constructors Constructor and Description PlotGraphics11()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclearClip()voidclearTransformation()java.awt.image.BufferedImagecreateImage(int width, int height)voiddrawImage(java.awt.Image image, double x, double y, java.awt.image.ImageObserver observer)voiddrawImage(java.awt.Image image, double x, double y, int width, int height, java.awt.image.ImageObserver observer)voiddrawLine(double x1, double y1, double x2, double y2)voiddrawOval(double x1, double y1, double x2, double y2)voiddrawPolyLine(double[] x, double[] y, int n)voiddrawPolySymbol(double[] x, double[] y, double size, int type, int n)voiddrawRect(double x1, double y1, double x2, double y2)voiddrawString(java.lang.String s, double x, double y)voiddrawSymbol(double x, double y, double size, int type)static voiddrawSymbol(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.voidfillRect(double x1, double y1, double x2, double y2)java.awt.RectanglegetClipBounds()java.awt.FontgetFont()java.awt.FontMetricsgetFontMetrics()voidsetClip(int xmin, int xmax, int ymin, int ymax)voidsetColor(java.awt.Color c)voidsetFont(java.awt.Font f)voidsetGraphics(java.awt.Graphics g)voidsetStroke(java.awt.Stroke s)voidsetTransformation(Transformation x, Transformation y)
-
-
-
Method Detail
-
setStroke
public void setStroke(java.awt.Stroke s)
- Specified by:
setStrokein interfacePlotGraphics
-
setGraphics
public void setGraphics(java.awt.Graphics g)
- Specified by:
setGraphicsin interfaceSetablePlotGraphics
-
setTransformation
public void setTransformation(Transformation x, Transformation y)
- Specified by:
setTransformationin interfacePlotGraphics
-
clearTransformation
public void clearTransformation()
- Specified by:
clearTransformationin interfacePlotGraphics
-
setClip
public void setClip(int xmin, int xmax, int ymin, int ymax)- Specified by:
setClipin interfacePlotGraphics
-
clearClip
public void clearClip()
- Specified by:
clearClipin interfacePlotGraphics
-
drawLine
public void drawLine(double x1, double y1, double x2, double y2)- Specified by:
drawLinein interfacePlotGraphics
-
drawPolyLine
public void drawPolyLine(double[] x, double[] y, int n)- Specified by:
drawPolyLinein interfacePlotGraphics
-
fillRect
public void fillRect(double x1, double y1, double x2, double y2)- Specified by:
fillRectin interfacePlotGraphics
-
drawRect
public void drawRect(double x1, double y1, double x2, double y2)- Specified by:
drawRectin interfacePlotGraphics
-
drawOval
public void drawOval(double x1, double y1, double x2, double y2)- Specified by:
drawOvalin interfacePlotGraphics
-
setColor
public void setColor(java.awt.Color c)
- Specified by:
setColorin interfacePlotGraphics
-
drawString
public void drawString(java.lang.String s, double x, double y)- Specified by:
drawStringin interfacePlotGraphics
-
getFontMetrics
public java.awt.FontMetrics getFontMetrics()
- Specified by:
getFontMetricsin interfacePlotGraphics
-
setFont
public void setFont(java.awt.Font f)
- Specified by:
setFontin interfacePlotGraphics
-
getFont
public java.awt.Font getFont()
- Specified by:
getFontin interfacePlotGraphics
-
drawPolySymbol
public void drawPolySymbol(double[] x, double[] y, double size, int type, int n)- Specified by:
drawPolySymbolin interfacePlotGraphics
-
drawSymbol
public void drawSymbol(double x, double y, double size, int type)- Specified by:
drawSymbolin interfacePlotGraphics
-
drawImage
public void drawImage(java.awt.Image image, double x, double y, java.awt.image.ImageObserver observer)- Specified by:
drawImagein interfacePlotGraphics
-
drawImage
public void drawImage(java.awt.Image image, double x, double y, int width, int height, java.awt.image.ImageObserver observer)- Specified by:
drawImagein interfacePlotGraphics
-
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.
-
getClipBounds
public java.awt.Rectangle getClipBounds()
- Specified by:
getClipBoundsin interfacePlotGraphics
-
createImage
public java.awt.image.BufferedImage createImage(int width, int height)- Specified by:
createImagein interfacePlotGraphics
-
-
DataMelt 3.0 © DataMelt by jWork.ORG