title: Android blur Bitmap Portion(fingure touch portion)/Make certain area of bitmap blur on touch
body: <p>In one of my app i need to make a bitmap's portion blurred...</p>
  
  <p>I need to allow the user to figure move and make that portion of bitmap blur.</p>
  
  <p>How to apply this??
  if it is possible? and if yes then how????</p>
  
  <p>I have visited <a href="https://stackoverflow.com/questions/18188079/blur-on-touch-android-application">This site</a> but not fruitful output</p>
  
  <p>How can I do this?Is it possible? </p>
  
  <p>I have done this:</p>
  
  <pre><code>mPaint.setAlpha(10);
              // mPaint.setStyle(Style.FILL);
              //mPaint.setXfermode(new PorterDuffXfermode(Mode.CLEAR));
              mPaint.setMaskFilter(new BlurMaskFilter(30, BlurMaskFilter.Blur.INNER));
               paint.setStyle(Style.STROKE);
              mPaint.setAntiAlias(true);
  
              mPaint.setAntiAlias(true);
              mPath = new Path();
              mPath.offset(30, 30);
  
              paths.add(new PathPoints(mPath, color, false, strokWidth));
              mCanvas = new Canvas();
              c2 = new Canvas();
  
              // this.setDrawingCacheEnabled(true);
              c2.setBitmap(Transparent);
  </code></pre>
  
  <p>and</p>
  
  <pre><code>protected void onDraw(Canvas canvas1) {
              canvas = canvas1;
  
              // === canvas.drawBitmap(mBitmap, 0, 0, mBitmapPaint);
  
              canvas.drawBitmap(Transparent, 0, 0, mBitmapPaint);
              c2.drawBitmap(Bitmap2, 0, 0, mBitmapPaint);
              // canvas.drawBitmap(Transparent, 0, 0, mBitmapPaint);
              // canvas.drawBitmap(Transparent, 0, 0, null);
              // c2.drawBitmap(mBitmap, 0, 0, mBitmapPaint);
              for (PathPoints p : paths) {
  
                  //mPaint.setColor(p.getColor());
                  mPaint.setStrokeWidth(p.getStrokWidth());
                  Log.v("", "Color code : " + p.getColor());
                  if (p.isTextToDraw()) {
                      canvas.drawText(p.textToDraw, p.x, p.y, mPaint);
                  } else {
                      // if(isTouched)
                      // {
                      // canvas.drawPath(p.getPath(), mPaint);
                      c2.drawPath(p.getPath(), mPaint);
  
  
                  }
  
              }
              //
              // invalidate();
  
          }
  </code></pre>