API Docs for: 2.0.0

Class SAGE2_DrawingApp

Class defined in: public/src/SAGE2_DrawingApp.js:15

Client-side application for drawing, leverages Wacom plugin if present

mousedown( ev )
public/src/SAGE2_DrawingApp.js:371

Mouse down handler

Parameters:
mousemove( ev )
public/src/SAGE2_DrawingApp.js:478

Mouse move handler

Parameters:
mouseup( ev )
public/src/SAGE2_DrawingApp.js:424

Mouse up handler

Parameters:
newLayer( )
public/src/SAGE2_DrawingApp.js:281

Create a new drawing layer

nextLayer( )
public/src/SAGE2_DrawingApp.js:310

Navigate to the next layer

previousLayer( )
public/src/SAGE2_DrawingApp.js:342

Navigate to the previous layer

SAGE2_init( )
public/src/SAGE2_DrawingApp.js:74

Entry point of the application. Uses Kinetic.js for drawing

setupListeners( wsio )
public/src/SAGE2_DrawingApp.js:125

Place callbacks on various messages from the server

Parameters: