Hi, I'm having some trouble with the following code:

paint.setColor(Color.WHITE);
paint.setStyle(Paint.Style.STROKE);
paint.setAlpha(100);
paint.setStrokeWidth(12);
canvas.drawPath(path, paint);

It seems that the alpha setting is ignored, as the Path will be drawn
fully opaque. If I call drawLine() or drawLines() using the exact same
Paint object, the translucency is displayed fine. I looked through the
Javadocs on Path, Canvas and Paint (And searched this group) but
couldn't find any explanation.

Any ideas of what I might be doing wrong? Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to