PdfContentByte cb = writer.getDirectContent();
// step 5: we instantiate PdfSpotColor
// Note: I made up these names unless someone give me a PANTONE swatch as gift (phillip@formstar.com)
PdfSpotColor spc_cmyk = new PdfSpotColor("PANTONE 280 CV", new CMYKColor(0.9f, .2f, .3f, .1f));
PdfSpotColor spc_rgb = new PdfSpotColor("PANTONE 147", new Color(114, 94, 38));
PdfSpotColor spc_g = new PdfSpotColor("PANTONE 100 CV", new GrayColor(0.9f));
// Stroke a rectangle with CMYK alternate
cb.setColorStroke(spc_cmyk, .5f);
cb.setLineWidth(10f);
// draw a rectangle