android - How to delete all arcs drawn on a Bitmap -


i have declared bitmap this.

mbitmap = bitmap.createbitmap(width, height, bitmap.config.argb_8888);             mcanvas = new canvas(mbitmap); 

now after drawing arcs on it, how clear bitmap in same state when app started

you can use

mcanvas.drawcolor(color.transparent, mode.clear); 

here documentation.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -