jas2.plot.java2
Class PlotGraphics12
- java.lang.Object
-
- jas2.plot.java2.PlotGraphics12
-
- All Implemented Interfaces:
- PlotGraphics, SetablePlotGraphics
public class PlotGraphics12 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 PlotGraphics12()
-
Method Summary
All 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)voidfillRect(double x1, double y1, double x2, double y2)java.awt.RectanglegetClipBounds()java.awt.FontgetFont()java.awt.FontMetricsgetFontMetrics()java.awt.Graphics2Dgraphics()voidsetClip(int xmin, int xmax, int ymin, int ymax)voidsetColor(java.awt.Color c)voidsetFont(java.awt.Font f)voidsetGraphics(java.awt.Graphics gin)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 gin)
- Specified by:
setGraphicsin interfaceSetablePlotGraphics
-
graphics
public java.awt.Graphics2D graphics()
-
setTransformation
public void setTransformation(Transformation x, Transformation y)
- Specified by:
setTransformationin interfacePlotGraphics
-
clearTransformation
public void clearTransformation()
- Specified by:
clearTransformationin interfacePlotGraphics
-
drawLine
public void drawLine(double x1, double y1, double x2, double y2)- Specified by:
drawLinein interfacePlotGraphics
-
fillRect
public void fillRect(double x1, double y1, double x2, double y2)- Specified by:
fillRectin interfacePlotGraphics
-
drawOval
public void drawOval(double x1, double y1, double x2, double y2)- Specified by:
drawOvalin interfacePlotGraphics
-
drawRect
public void drawRect(double x1, double y1, double x2, double y2)- Specified by:
drawRectin 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
-
drawSymbol
public void drawSymbol(double x, double y, double size, int type)- Specified by:
drawSymbolin interfacePlotGraphics
-
drawPolyLine
public void drawPolyLine(double[] x, double[] y, int n)- Specified by:
drawPolyLinein 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
-
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
-
setClip
public void setClip(int xmin, int xmax, int ymin, int ymax)- Specified by:
setClipin interfacePlotGraphics
-
clearClip
public void clearClip()
- Specified by:
clearClipin interfacePlotGraphics
-
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