Android View to Image Capture view2Bitmap(View view)

Here you can find the source of view2Bitmap(View view)

Description

view Bitmap

Declaration

public static final Bitmap view2Bitmap(View view) 

Method Source Code

//package com.java2s;

import android.graphics.Bitmap;

import android.view.View;

public class Main {
    public static final Bitmap view2Bitmap(View view) {
        return view2Bitmap(view, false);
    }/*ww w  .ja v  a2s .  c o m*/

    public static final Bitmap view2Bitmap(View view, boolean cache) {
        view.setDrawingCacheEnabled(cache);
        view.buildDrawingCache();
        Bitmap bitmap = view.getDrawingCache();
        return bitmap;
    }
}

Related

  1. convertViewToBitmap(View view)
  2. getBitmapFromView(View view)
  3. printScreen(View v)
  4. printScreen(View v, int quality)
  5. shotScreen(View cv)
  6. view2Bitmap(View view, boolean cache)
  7. loadBitmapFromView(View v)
  8. getBitmapFromView()
  9. getBitmapFromView(View view)