code: public static boolean setStyle(PolygonOptions polygonOptions, StyleRow style, float density) {
  
          if (style != null) {
  
              Color color = style.getColorOrDefault();
              polygonOptions.strokeColor(color.getColorWithAlpha());
  
              double width = style.getWidthOrDefault();
              polygonOptions.strokeWidth((float) width * density);
  
              Color fillColor = style.getFillColor();
              if (fillColor != null) {
                  polygonOptions.fillColor(fillColor.getColorWithAlpha());
              }
          }
  
          return style != null;
      }
docs: Set the style into the polygon options
  
  @param polygonOptions polygon options
  @param style          style row
  @param density        display density: {@link android.util.DisplayMetrics#density}
  @return true if style was set into the polygon options