Argh yes, drawColor(0) is for opaque Canvas, sorry :) On Thu, Mar 12, 2009 at 11:43 AM, Eric <webmonke...@gmail.com> wrote: > >> Just call Canvas.drawColor(0). > > That probably won't do much because it uses the default srcover > porterduff mode > > Canvas.drawColor( 0, PorterDuff.Mode.CLEAR ); > > would be better > > On Mar 12, 6:47 pm, Romain Guy <romain...@google.com> wrote: >> Just call Canvas.drawColor(0). >> >> >> >> On Thu, Mar 12, 2009 at 10:35 AM, sebastian <sdjua...@gmail.com> wrote: >> >> > Hi >> >> > I am painting some bitmaps onto a transparent canvas, so it is >> > rendered above the system screen. >> >> > When I draw the next bitmap, I cannot clear the previously drawn one. >> > How can I "erase" it? >> >> > If I could capture the initial canvas would be fine...because I could >> > paint always that before drawing the bitmap...but I am not succedding >> > on capturing it. >> >> > Thanks! >> >> -- >> Romain Guy >> Android framework engineer >> romain...@android.com >> >> Note: please don't send private questions to me, as I don't have time >> to provide private support. All such questions should be posted on >> public forums, where I and others can see and answer them > > >
-- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---