Develop a drawing application that provides the following functionality:
It lets users create drawings using a combination of straight lines, circles and rectangles. For example, to draw a new straight line a user selects this shape type from some menu or toolbar, and clicks on the desired starting position on the canvas. The user then drags the mouse to the desired end position.
Lets users set the following graphic properties to be used for drawing new shapes: outline color, fill color, outline width.
Lets users select a previously drawn shape and perform an actions on it. For simplicity, when a shape is selected and actioned-upon, it becomes the top-most shape (i.e., it will have the highest z-index). Your application should support the following actions:
Erase the shape.
Move the shape to a new position on the canvas.
Resize the shape.
Change the shape's color, fill, and outline width.
Copy and paste.
Clear the canvas.
Your application should be easy to use.
The main entry page for your site should be called index.html.
Make sure your site functions correctly in the CDF environment, specifically under Firefox version 21.0. TAs will not debug so test to ensure it works the first time!
Assume a fixed browser window size of 1024x768
Put all necessary files in one directory, and archive the directory into a single file using tar or a similar utility. Finally, submit your assignment using the BlackBoard system.
You electronic submission should include the following items:
Documentation for your Web site. Include a brief explanations of how it all works, e.g., list of main user-defined objects, and datastructures.
Finally, all deliverables should be neatly formatted, readable,and be properly documented .