public class RegionTextRenderFilter extends RenderFilter
RenderFilter
that only allows text within a specified rectangular regionModifier and Type | Field and Description |
---|---|
private Rectangle2D |
filterRect
the region to allow text from
|
Constructor and Description |
---|
RegionTextRenderFilter(Rectangle2D filterRect)
Constructs a filter
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowText(TextRenderInfo renderInfo) |
allowImage
private final Rectangle2D filterRect
public RegionTextRenderFilter(Rectangle2D filterRect)
filterRect
- the rectangle to filter text against. Note that this is a java.awt.Rectangle !public boolean allowText(TextRenderInfo renderInfo)
allowText
in class RenderFilter
RenderFilter.allowText(com.itextpdf.text.pdf.parser.TextRenderInfo)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses