Class: drawingCanvas GraceDocs
drawingCanvas. size(width': Number, height': Number) -> DrawingCanvas
class representing objects that manage graphics on screen

Methods

Method signature Return type
add( d: Graphic) Done
Add new item d to canvas
asString String
string representation of canvas
clear Done
remove all items from canvas
height Number
notifyRedraw Done
printObjects Done
debug method to print all objects on canvas
remove( aGraphic: Graphic) Done
remove m from items on canvas
sendBackward( aGraphic: Graphic) Done
send item d one position lower on canvas
sendForward( aGraphic: Graphic) Done
send item d one position higher on canvas
sendToBack( aGraphic: Graphic) Done
send item d to back/bottom layer of canvas
sendToFront( aGraphic: Graphic) Done
send item d to front/top layer of canvas
startDrawing Done
width Number