C D E F G I P S

C

Canvas - Class in <Unnamed>
Class Canvas - a class to allow for simple graphical drawing on a canvas.
Canvas(String) - Constructor for class Canvas
Create a Canvas with default height, width and background color (300, 300, white).
Canvas() - Constructor for class Canvas
Create a Canvas with default title, height, width and background color ("Canvas", 300, 300, white).
canvas - Variable in class Canvas
 
Canvas.CanvasPane - Class in <Unnamed>
Nested class CanvasPane - the actual canvas component contained in the Canvas frame.
Canvas.CanvasPane() - Constructor for class Canvas.CanvasPane
 

D

drawFilledOval(Integer, Integer, Integer, Integer) - Method in class Canvas
Draws a filled oval on the Canvas.
drawFilledPolygon(Integer[], Integer[], Integer) - Method in class Canvas
Draws a filled polygon on the Canvas.
drawFilledRectangle(Integer, Integer, Integer, Integer) - Method in class Canvas
Draws a filled rectangle on the Canvas.
drawLine(Integer, Integer, Integer, Integer) - Method in class Canvas
Draws a line on the Canvas.
drawOval(Integer, Integer, Integer, Integer) - Method in class Canvas
Draws an oval on the Canvas.
drawPolygon(Integer[], Integer[], Integer) - Method in class Canvas
Draws a polygon on the Canvas.
drawRectangle(Integer, Integer, Integer, Integer) - Method in class Canvas
Draws a rectangle on the Canvas.
drawString(String, Integer, Integer) - Method in class Canvas
Draws a String on the Canvas.

E

erase() - Method in class Canvas
Erase the whole canvas.
eraseFilledOval(Integer, Integer, Integer, Integer) - Method in class Canvas
Erases a filled oval on the Canvas.
eraseFilledRectangle(Integer, Integer, Integer, Integer) - Method in class Canvas
Erases a filled rectangle on the Canvas.
eraseOval(Integer, Integer, Integer, Integer) - Method in class Canvas
Erases an oval on the Canvas.
eraseRectangle(Integer, Integer, Integer, Integer) - Method in class Canvas
Erases a rectangle on the Canvas.
eraseString(String, Integer, Integer) - Method in class Canvas
Erases a String on the Canvas.

F

fillBackground(Color) - Method in class Canvas
Fills in the Canvas (background) with the specified color.

G

getFont() - Method in class Canvas
Returns the current font of the canvas.
getInkColor() - Method in class Canvas
Returns the current pen color.

I

isVisible() - Method in class Canvas
Provide information on visibility of the Canvas.

P

paint(Graphics) - Method in class Canvas.CanvasPane
 
pause(Integer) - Method in class Canvas
Waits for a specified number of milliseconds before finishing.

S

setFont(Font) - Method in class Canvas
changes the current Font used on the Canvas
setFontSize(Integer) - Method in class Canvas
Sets the point size of the current font to the specified value.
setInkColor(Color) - Method in class Canvas
Sets the "pen" (outline) color for the Canvas.
setSize(Integer, Integer) - Method in class Canvas
Sets the size of the canvas.
setVisible(Boolean) - Method in class Canvas
Set the canvas visibility and brings canvas to the front of screen when made visible.

C D E F G I P S