List of usage examples for com.itextpdf.text Image getRight
public float getRight()
From source file:com.vectorprint.report.itext.style.stylers.ImportTiff.java
License:Open Source License
protected void drawOnPage(com.itextpdf.text.Image img) throws VectorPrintException { /*// ww w . java 2 s .c o m * we call draw here to use the positioning and shadow intelligence of the AbstractPositining styler. * this styler uses the top left corner of the argument rectangle as its positioning base. * therefore we call this method with the image rectangle moved down by its height, the effect is * that the image will be positioned as expected. */ draw(new Rectangle(img.getLeft(), img.getBottom() - img.getHeight(), img.getRight(), img.getBottom()), null); }