jas2.plot
Interface PlotGraphics
-
- All Known Subinterfaces:
- SetablePlotGraphics
- All Known Implementing Classes:
- PlotGraphics11, PlotGraphics12
public interface PlotGraphicsThis interface serves two purposes:- To provide an abstract interface which can be used to drive either a JDK1.1 Graphics class, or a JDK1.2 Graphics2D class.
- To provide an mechanism to allow drawing of graphics objects in plot coordinate space.
-
-
Field Summary
Fields Modifier and Type Field and Description static intSYMBOL_BOXstatic intSYMBOL_CIRCLEstatic intSYMBOL_CROSSstatic intSYMBOL_DIAMONDstatic intSYMBOL_DOTstatic intSYMBOL_HORIZ_LINEstatic intSYMBOL_SQUAREstatic intSYMBOL_STARstatic intSYMBOL_TRIANGLEstatic intSYMBOL_VERT_LINE
-
Method Summary
All Methods Instance Methods Abstract 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 x, double y, double width, double height)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()voidsetClip(int xmin, int xmax, int ymin, int ymax)voidsetColor(java.awt.Color c)voidsetFont(java.awt.Font f)voidsetStroke(java.awt.Stroke s)voidsetTransformation(Transformation x, Transformation y)
-
-
-
Field Detail
-
SYMBOL_DOT
static final int SYMBOL_DOT
- See Also:
- Constant Field Values
-
SYMBOL_BOX
static final int SYMBOL_BOX
- See Also:
- Constant Field Values
-
SYMBOL_TRIANGLE
static final int SYMBOL_TRIANGLE
- See Also:
- Constant Field Values
-
SYMBOL_DIAMOND
static final int SYMBOL_DIAMOND
- See Also:
- Constant Field Values
-
SYMBOL_STAR
static final int SYMBOL_STAR
- See Also:
- Constant Field Values
-
SYMBOL_VERT_LINE
static final int SYMBOL_VERT_LINE
- See Also:
- Constant Field Values
-
SYMBOL_HORIZ_LINE
static final int SYMBOL_HORIZ_LINE
- See Also:
- Constant Field Values
-
SYMBOL_CROSS
static final int SYMBOL_CROSS
- See Also:
- Constant Field Values
-
SYMBOL_CIRCLE
static final int SYMBOL_CIRCLE
- See Also:
- Constant Field Values
-
SYMBOL_SQUARE
static final int SYMBOL_SQUARE
- See Also:
- Constant Field Values
-
-
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()
-
setTransformation
void setTransformation(Transformation x, Transformation y)
-
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