public class RegionTextRenderFilter extends RenderFilter
RenderFilter
that only allows text within a specified rectangular regionConstructor | Description |
---|---|
RegionTextRenderFilter(Rectangle2D filterRect) |
Constructs a filter
|
RegionTextRenderFilter(Rectangle filterRect) |
Constructs a filter
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
allowText(TextRenderInfo renderInfo) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.