Android Utililty Methods Bitmap Frame Draw

List of utility methods to do Bitmap Frame Draw

Description

The list of methods to do Bitmap Frame Draw are organized into topic(s).

Method

BitmapdrawWhiteFrame(Bitmap bitmap)
draw White Frame
int w = bitmap.getWidth();
int h = bitmap.getHeight();
int radius = Math.min(h / 2, w / 2);
Bitmap output = Bitmap.createBitmap(w + 8, h + 8, Config.ARGB_8888);
Paint p = new Paint();
p.setAntiAlias(true);
Canvas c = new Canvas(output);
c.drawARGB(0, 0, 0, 0);
...