Skip to content Skip to sidebar Skip to footer

Android - Rotate Image Around Center Point?

How can I rotate a bitmap (not a view or canvas) around its center point when the user touches it and drags it? I have tried loads of examples on stack overflow and none appear to

Solution 1:

Create Matrix then set rotate via setRotate(degrees). Then use this matrix when creating new Bitmap: Bitmap.createBitmap(..)


Post a Comment for "Android - Rotate Image Around Center Point?"