@Override public boolean onTouchEvent(MotionEvent event){
  if (getInteractionMode() == DRAW_MODE)   return onTouchDrawMode(event);
 else   if (getInteractionMode() == SELECT_MODE)   return onTouchSelectMode(event);
 else   if (getInteractionMode() == ROTATE_MODE)   return onTouchRotateMode(event);
 else   return onTouchLockedMode(event);
}

@ Override public boolean onTouchEvent ( MotionEvent event ) { if ( getInteractionMode ( ) == DRAW_MODE ) return onTouchDrawMode ( event ) ; else if ( getInteractionMode ( ) == SELECT_MODE ) return onTouchSelectMode ( event ) ; else if ( getInteractionMode ( ) == ROTATE_MODE ) return onTouchRotateMode ( event ) ; else return onTouchLockedMode ( event ) ; }
handles user touch event
