- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 Android对图片进行旋转(绕图片中心)
mBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.compass);// 得到图片资源 int bw = mBitmap.getWidth(); int bh = mBitmap.getHeight(); // 设置旋转角度 matrix.setRotate(degree); //degree 旋转度
2013-12-08 18:03:53 1558
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人