code: public void setPatternFill(PdfPatternPainter p, Color color) {
          if (ExtendedColor.getType(color) == ExtendedColor.TYPE_SEPARATION)
              setPatternFill(p, color, ((SpotColor)color).getTint());
          else
              setPatternFill(p, color, 0);
      }
docs: Sets the fill color to an uncolored pattern.
  @param p the pattern
  @param color the color of the pattern