public class RegionTextRenderFilter extends RenderFilter
RenderFilter
that only allows text within a specified rectangular region
Constructor and Description |
---|
RegionTextRenderFilter(Rectangle filterRect)
Constructs a filter
|
RegionTextRenderFilter(Rectangle2D filterRect)
Constructs a filter
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowText(TextRenderInfo renderInfo) |
allowImage
public RegionTextRenderFilter(Rectangle2D filterRect)
filterRect
- the rectangle to filter text against. Note that this is a com.itextpdf.text.geom.Rectangle !
public RegionTextRenderFilter(Rectangle filterRect)
filterRect
- the rectangle to filter text against.
public boolean allowText(TextRenderInfo renderInfo)
allowText
in class RenderFilter
RenderFilter.allowText(com.itextpdf.text.pdf.parser.TextRenderInfo)
Copyright © 1998–2018. All rights reserved.