Hi

why the Path addArc don´t work like canvas.drawArc?

This code works well:

canvas.drawArc(rect, startAngle, sweepAngle, true, paint);

But this code don´t fill the ARC like the previous one.

Path path = new Path();
path.addArc(rect, startAngle, sweepAngle);
canvas.drawPath(path, paint);

The boolean "useCenter" parameter in the canvas.drawArc does the
magic. If you use usecenter=false it works like the Path version...
How can I use the canvas.drawPath with this usecenter=true logic?

thank you

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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