Class Index | File Index

Classes


Class PaintTools.pencil

The drawing pencil.
Defined in: tools.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<private> <inner>  
Tells if the user has started the drawing operation or not.
Method Summary
Method Attributes Method Name and Description
 
Initialize the drawing operation.
 
Perform the drawing operation, while the user moves the mouse.
 
mouseup(ev)
End the drawing operation, once the user releases the mouse button.
Class Detail
PaintTools.pencil(app)
Parameters:
{Painter} app
Reference to the main paint application object.
Field Detail
<private> <inner> {Boolean} started
Tells if the user has started the drawing operation or not.
Method Detail
mousedown(ev)
Initialize the drawing operation.
Parameters:
{Event} ev
The DOM Event object.

mousemove(ev)
Perform the drawing operation, while the user moves the mouse.
Parameters:
{Event} ev
The DOM Event object.

mouseup(ev)
End the drawing operation, once the user releases the mouse button.
Parameters:
{Event} ev
The DOM Event object.

Documentation generated by JsDoc Toolkit 2.1.0 on Wed Apr 22 2009 15:45:35 GMT+0300 (EEST)