Hi all, I need to know the coordinates of a drawable object after its rotation? Here the code (ball is Drawable):
canvas.save(); canvas.rotate(degree, pivot_x,pivot_y); ball.setBounds(...); ball.draw(canvas); canvas.restore(); What are new coordinates of the ball? I tried with ball.getBounds() but it contains original coordinates. Thank you all Andrea --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---