2014-03-05 56 views
0

我想在背景上添加畫布(顏色有點透明),它的Ontouch事件上有一些圖像。我想刪除那個讓我的背景圖像清晰的畫布透明顏色。Transparecy in canvas android

我使用:

paint.setColor(Color.TRANSPARENT); 

,但什麼也沒發生在畫布上。任何幫助將不勝感激。

回答

-1

enter image description here

我已添加上背景透明畫布...這使得我的上述圖像:

和ontouch所得應該是這樣的:

enter image description here

+0

是這樣意味着作爲更新您的問題或答案? – cpburnz