Use this to reset the canvas after drawing your one rotated/scaled/whatever 
object:


canvas.setMatrix(new Matrix());

On Tuesday, September 11, 2012 1:18:53 PM UTC-5, NikDmit wrote:
>
> Hello.
>
> Since it's very possible to apply rotation and translation to the entire 
> canvas and Bitmap's object, I have a question, is it possible, without 
> using OpenGL, to apply rotation and translation only for one element on the 
> canvas? Let's say, I draw line and circle and I want to apply translation 
> only for the line, not for the entire view. With concat method of the 
> Canvas the entire view will be changed(translated or rotated).
>
> Thank you for your answers beforehand.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to