Reputation: 35
I am a newbie and wanted to know how to apply transparent color in selected portion of the image? I have coded like this but I am not getting the transparent color. Not able to see the below image.
Paint p = new Paint(Paint.ANTI_ALIAS_FLAG);
p.setColor(SettingsActivity.myColor);
p.setStrokeWidth(20);
p.setStyle(Paint.Style.STROKE);
p.setAlpha(0xFF);
Please suggest a solution.
Thanks in advance
Prathima
Upvotes: 1
Views: 438