Matrix transform = new Matrix(); transform.setTranslate(xOfCentre, yOfCentre); transform.preRotate(turnDegrees, width/2, height/2); canvas.drawBitmap(bitmap, transform, null);
No comments:
Post a Comment