DrawingCanvas
= Component & type { ...added methods below... }
Method signature | Return type |
---|---|
add(d:Graphic) |
Done |
add d to canvas | |
clear |
Done |
clear the canvas | |
height |
Number |
notifyRedraw |
Done |
Inform canvas that it needs to be redrawn | |
remove(d:Graphic) |
Done |
remove d from canvas | |
sendBackward(d:Graphic) |
Done |
send d down one layer in graphics | |
sendForward(d:Graphic) |
Done |
send d up one layer in graphics | |
sendToBack(d:Graphic) |
Done |
send d to bottom layer of graphics | |
sendToFront(d:Graphic) |
Done |
Send d to top layer of graphics | |
startDrawing |
Done |
redraws the canvas and its contents regularly as needed | |
width |
Number |
return the current dimensions of the canvas |