> > It works fine for me. Show us a complete, compilable example that
> > demonstrates your problem.
[quoted text clipped - 56 lines]
> C. Benson Manica | I *should* know what I'm talking about - if I
> cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
> On Apr 3, 11:21 am, Christopher Benson-Manica
> The first draws the outline, the second fills the inside.
If that were always true, I could understand that. However...
> > private final Polygon polygon = new Polygon(
> > new int[]{2,8,5},
> > new int[]{5,5,2},
new int[]{5,5,8}, // Flip upside down
> > 3
> > );
...gives an outline that is the same size as the filled version. So
presumably this has something to do with how polygons are drawn versus
how they are filled, and the documentation I have seen doesn't suggest
that there is a difference (even though there clearly is).
> You might be better off using Shape classes and Graphics2D to get the
> effect you want.
That may well be true, and I will look into those. Thanks.

Signature
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
Chris Uppal - 03 Apr 2007 21:59 GMT
> ...gives an outline that is the same size as the filled version. So
> presumably this has something to do with how polygons are drawn versus
> how they are filled, and the documentation I have seen doesn't suggest
> that there is a difference (even though there clearly is).
The package comment for java.awt.Graphics should shed some light.
-- chris
Chris Uppal - 03 Apr 2007 22:05 GMT
I wrote:
> The package comment for java.awt.Graphics should shed some light.
Bah! Let me try that again...
The /class/ /JavaDoc/ for [etc...]
-- chris