PA1Canvas is a class that was created by Robin D. Toll to encapsulate and simplify some of the functions of drawing, to ease the transition into the Java programming language and remove some of the complications of using GUI components. Files: ----- PA1Canvas.readme This file. PA1Canvas.jar Jar file containing both the source and compiled classes for PA1Canvas.java. Usage: ----- 1) Ensure that PA1Canvas.jar is in your classpath. This can be accomplished using an environmental variable or at the java command line. 2) Import the package netprog.given.pa1.*; 3) In your code, create a new PA1Canvas and initialize it using the constructor 'public PA1Canvas(int x, int y)', where the two parameters are the x and y dimensions of the desired canvas in pixels. 4) Use the provided methods to add objects to the drawing board. The methods are: a) 'public void drawPoint(int x1, int y1, int color)' where x1 and y1 are the coordinates of the pixel. b) 'public void drawRect(int x1, int y1, int x2, int y2, int color)' where x1 and y1 are the coordinates of the top left corner, and x2 and y2 are the coordinates of the bottom right corner. c) 'public void drawCircle(int x1, int y1, int radius, int color)' where x1 and y1 are the coordinates of the center of the circle. Colors in this system are defined by final static member variables on PA1Canvas. The available colors are PA1Canvas.COLOR_BLACK, PA1Canvas.COLOR_BLUE, PA1Canvas.COLOR_GRAY, PA1Canvas.COLOR_GREEN, PA1Canvas.COLOR_RED, and PA1Canvas.COLOR_YELLOW. Known Bugs: ---------- None.