Package org.jzy3d.plot2d.rendering
Class CanvasAWT
java.lang.Object
org.jzy3d.plot2d.rendering.CanvasAWT
- All Implemented Interfaces:
 Canvas
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ColorConverts aImaging Colorinto aAWT Color.voiddrawBackground(Color color, int width, int height) Draws the picture background in the given color.voidDraws a dot, represented by a small rectangle.voidDraws an oval.voidDraws a rectangle.voidDraws a rectangle.voiddrawString(int x, int y, String text) Draws a text. 
- 
Constructor Details
- 
CanvasAWT
Creates a new instance of Pencil2dAWT. A Pencil2dAWT provides an implementation for drawing wafer sites on AWT. 
 - 
 - 
Method Details
- 
drawString
Description copied from interface:CanvasDraws a text.- Specified by:
 drawStringin interfaceCanvas- Parameters:
 x- x value of the text.y- y value of the text.text- text to be displayed.
 - 
drawRect
Description copied from interface:CanvasDraws a rectangle. - 
drawRect
Description copied from interface:CanvasDraws a rectangle. - 
drawDot
Description copied from interface:CanvasDraws a dot, represented by a small rectangle. - 
drawOval
Description copied from interface:CanvasDraws an oval. - 
drawBackground
Description copied from interface:CanvasDraws the picture background in the given color.- Specified by:
 drawBackgroundin interfaceCanvas- Parameters:
 color- the background color.width- width of the picture.height- height of the picture.
 - 
awt
Converts aImaging Colorinto aAWT Color. Note that this converter does not use the AWT color's alpha channel, in order to offer the same behaviour than the SWT converter. 
 -