com.itextpdf.tool.xml.css.apply
Class ImageCssApplier
java.lang.Object
com.itextpdf.tool.xml.css.apply.ImageCssApplier
public class ImageCssApplier
- extends Object
Class that applies the parsed CSS to an Image object.
- Author:
- redlab_b
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageCssApplier
public ImageCssApplier()
apply
public Image apply(Image img,
Tag tag)
- Applies CSS to an Image. Currently supported:
- width
- height
- borders (color, width)
- spacing before and after
- Parameters:
img
- the imagetag
- the tag with the css
- Returns:
- a styled Image
Copyright © 2015. All Rights Reserved.