Hey Fabio,

You will have to use the Matrix class to rotate your image. So
something like this will help you:

Bitmap myBitmap = GetImageFromWebService(); //Acquire your image, does
not have to be from web

Matrix matrix = new Matrix();
matrix.PostRotate(-90); //Anti clockwise 90 degrees

Bitmap rotatedBmp = Bitmap.CreateBitmap(myBitmap, 0, 0,
myBitmap.Width, myBitmap.Height, matrix, true);



On Sat, Mar 31, 2012 at 6:47 PM, kuma <[email protected]> wrote:
> hi,
> my name is Fabio and I need help with mono android.
>
> after load a bitmap I need make a rotate and in windows use
> bmp.RotateFlip(RotateFlipType.Rotate180FlipX);
>
> but in android in class bitmap I not found method RotateFlip.
>
> how to rotate image?
>
> thank you
>
>
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/rotate-bitmap-tp5609057p5609057.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to