code: public static void delayedStyle(Chunk c, String tag, Collection<? extends Advanced> stylers, EventHelper eventHelper, Image img) {
        // add to pagehelper and set generic tag
        eventHelper.addDelayedStyler(tag, stylers, c, img);
        c.setGenericTag(tag);
     }
docs: register advanced stylers with the EventHelper to do the styling later
  
  @param c
  @param tag
  @param stylers
  @param eventHelper
  @param img the value of rect
  @see EventHelper#onGenericTag(com.itextpdf.text.pdf.PdfWriter, com.itextpdf.text.Document,
  com.itextpdf.text.Rectangle, java.lang.String)