Reputation: 958
The source code:
//The drawing of the circle on the canvas
imageView = new ImageView(this);
bitmap = Bitmap.createBitmap(200 ,200 , Bitmap.Config.ARGB_8888);
imageView.setBackgroundDrawable(new BitmapDrawable(bitmap));
Canvas canvas = new Canvas (bitmap);
canvas.drawCircle (50 , 50 , 20 , paint );
.....
Now I want to refresh or to clean the canvas
How can I do it?
Upvotes: 1
Views: 1734