一、裁剪
Bitmap.createBitmap(src, x, y, width, height)
二、变换Matrix
Matrix matrix = new Matrix();
matrix.postRotate(angle, x, y);
matrix.postScale(x, y);
matrix.postTranslate(x, y);
Bitmap.createBitmap(src, x, y, width, height, matrix, true)
一、裁剪
Bitmap.createBitmap(src, x, y, width, height)
二、变换Matrix
Matrix matrix = new Matrix();
matrix.postRotate(angle, x, y);
matrix.postScale(x, y);
matrix.postTranslate(x, y);
Bitmap.createBitmap(src, x, y, width, height, matrix, true)