¡@

Home 

2014/10/16 ¤W¤È 08:20:55

android Programming Glossary: orignalrect

Draw Rectangle Over ImageView for highlight that can be zoom in-out in android

http://stackoverflow.com/questions/10482229/draw-rectangle-over-imageview-for-highlight-that-can-be-zoom-in-out-in-android

myPaint.setColor Color.GREEN myPaint.setStyle Paint.Style.STROKE myPaint.setStrokeWidth 1 if mCanvasMatrix null if orignalRect null mCanvasMatrix.mapRect orignalRect if orignalRect null canvas.drawRect orignalRect myPaint canvas.drawRect rect_x1.. Paint.Style.STROKE myPaint.setStrokeWidth 1 if mCanvasMatrix null if orignalRect null mCanvasMatrix.mapRect orignalRect if orignalRect null canvas.drawRect orignalRect myPaint canvas.drawRect rect_x1 30 rect_y1 30 rect_x1 30 rect_y1 30 myPaint.. myPaint.setStrokeWidth 1 if mCanvasMatrix null if orignalRect null mCanvasMatrix.mapRect orignalRect if orignalRect null canvas.drawRect orignalRect myPaint canvas.drawRect rect_x1 30 rect_y1 30 rect_x1 30 rect_y1 30 myPaint int canavs_width..