Factored out common implementation of polygon symbolizer.