public class FilteredRenderListener extends Object implements RenderListener
| Constructor and Description |
|---|
FilteredRenderListener(RenderListener delegate,
RenderFilter... filters)
Construction
|
| Modifier and Type | Method and Description |
|---|---|
void |
beginTextBlock()
This class delegates this call
|
void |
endTextBlock()
This class delegates this call
|
void |
renderImage(ImageRenderInfo renderInfo)
Applies filters, then delegates to the delegate if all filters pass
|
void |
renderText(TextRenderInfo renderInfo)
Applies filters, then delegates to the delegate if all filters pass
|
public FilteredRenderListener(RenderListener delegate, RenderFilter... filters)
delegate - the delegate RenderListener that will receive filtered text operationsfilters - the filter(s) to applypublic void renderText(TextRenderInfo renderInfo)
renderText in interface RenderListenerrenderInfo - contains info to render textRenderListener.renderText(com.itextpdf.text.pdf.parser.TextRenderInfo)public void beginTextBlock()
beginTextBlock in interface RenderListenerRenderListener.beginTextBlock()public void endTextBlock()
endTextBlock in interface RenderListenerRenderListener.endTextBlock()public void renderImage(ImageRenderInfo renderInfo)
renderImage in interface RenderListenerrenderInfo - information specifying what to renderRenderListener.renderImage(com.itextpdf.text.pdf.parser.ImageRenderInfo)Copyright © 2024. All rights reserved.