Have you tried paint.setStyle(Paint.Style.STROKE) ?

Peli

On Nov 12, 3:56 pm, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can we draw a circle outline in an Overlay? I keep getting a
> filled circle with the following code:
>
>     Path outline = new Path();
>     outline.addCircle(150, 150, 100, Path.Direction.CW);
>
>     Paint paint = new Paint();
>     paint.setColor(0xFF0000);
>     paint.setAlpha(255);
>     paint.setStrokeWidth(1.0f);
>
>     canvas.drawPath(outline, paint);
>
> I  was kind of expecting it to just be the outline of the circle, not
> filled,
>
> 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to