标签:height and 变换 str ota pos .post new oid
一、裁剪
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)
标签:height and 变换 str ota pos .post new oid
原文地址:https://www.cnblogs.com/handongdong/p/10300070.html