> 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 <[email protected]> wrote: > Just call Canvas.drawColor(0). > > > > On Thu, Mar 12, 2009 at 10:35 AM, sebastian <[email protected]> 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 > [email protected] > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

