public class TextRegionEventFilter extends Object implements IEventFilter
IEventFilter implementation only accepts text render events within the specified
rectangular region.| Constructor and Description |
|---|
TextRegionEventFilter(Rectangle filterRect)
Constructs a filter instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(IEventData data,
EventType type)
This method checks an event and decides whether it should be processed further (corresponds to
true
return value), or filtered out (corresponds to false return value). |
public TextRegionEventFilter(Rectangle filterRect)
filterRect - the rectangle to filter text againstpublic boolean accept(IEventData data, EventType type)
IEventFiltertrue
return value), or filtered out (corresponds to false return value).accept in interface IEventFilterdata - event datatype - event typeCopyright © 1998–2020 iText Group NV. All rights reserved.