Hi All,

I'm rendering polygon layers and would like to "smooth out" the lines 
that delineate the polygons.  I'm building the style as below, but the 
lines have a jagged look to them, maybe best described as aliased, and 
I'd like to get them smoother.

StyleBuilder sb = new StyleBuilder();
Color strokeColor = new Color(0,255,0);
Stroke stroke = sb.createStroke(strokeColor, 2);
symbolizer = sb.createPolygonSymbolizer(stroke, sb.createFill(fill));

Do I need to setGraphicFill, or possibly setLineCap or setLineJoin on 
the Stroke?  Thoughts and examples would be greatly appreciated.

Thanks,
Oliver

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to