addPolygonSymbolizer method

SldObjectBuilder addPolygonSymbolizer(
  1. PolygonStyle style
)

Add a new polygon symbolizer using the style object.

Implementation

SldObjectBuilder addPolygonSymbolizer(PolygonStyle style) {
  if (currentRuleBuild != null) {
    xml.XmlDocumentFragment build = makePolygonStyleBuildFragment(style);
    currentRuleBuild.firstElementChild.children.add(build);
  }
  return this;
}