List of usage examples for com.itextpdf.text Chunk getImage
public Image getImage()
From source file:com.vectorprint.report.itext.EventHelper.java
License:Open Source License
/** * add a styler that will do its styling in * {@link #onGenericTag(com.itextpdf.text.pdf.PdfWriter, com.itextpdf.text.Document, com.itextpdf.text.Rectangle, java.lang.String)}. * * @param tag// ww w . j a va2 s .c om * @param advanced * @param chunk used when debugging, for placing debug info at the right position in the pdf * @param img the value of rect * @see Chunk#Chunk(com.itextpdf.text.Image, float, float, boolean) */ public void addDelayedStyler(String tag, Collection<Advanced> advanced, Chunk chunk, Image img) { doOnGenericTag.put(tag, advanced); if (chunk != null && chunk.getImage() != null) { imageChunks.put(tag, chunk); } if (img != null) { rectangles.put(tag, img); } }