Touch
Lectures 13 and 14 â Touch
Lectures 13 and 14 â Touch
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Which pointer?<br />
• Multitouch means MotionEvents will<br />
contain multiple ‘pointers’<br />
• getPointerCount() returns the number of<br />
pointers<br />
• getX()/getY() can both take the index of a<br />
pointer in the event to return the x/y for<br />
Will now demo this on the iPad — go show code