public class ImageCssApplier extends Object implements CssApplier<Image>
Constructor and Description |
---|
ImageCssApplier() |
Modifier and Type | Method and Description |
---|---|
Image |
apply(Image img, Tag tag)
Applies CSS to an Image.
|
Image |
apply(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
Styles an element
|
public Image apply(Image img, Tag tag)
img
- the image
tag
- the tag with the css
public Image apply(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
CssApplier
apply
in interface CssApplier<Image>
img
- the element
tag
- the tag
mm
- the MarginMemory
psc
- the PageSizeContainable
ctx
- the HtmlPipelineContext
Paragraph
Copyright © 1998–2016. All rights reserved.