zoomr

onMouseMotion
invalidate()

onDraw
canvas.drawRect(x1,y1,x2,y2,new Paint())

onKeyDown
capture x1 and y1

onKeyUp
image.setBounds(-x1,-y1, x2+getWidth(), y2+getHeight());

onDoubleClick
Restore






Comments

Popular posts from this blog

How to get started with Vue in under a minute?

aigiri nandini - Brodha V you rock