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 imagetag
- the tag with the csspublic Image apply(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
CssApplier
apply
in interface CssApplier<Image>
img
- the elementtag
- the tagmm
- the MarginMemorypsc
- the PageSizeContainablectx
- the HtmlPipelineContextParagraph
Copyright © 2017. All rights reserved.