public class GlyphTextEventListener extends GlyphEventListener implements ITextExtractionStrategy
TextRenderInfo for EventType.RENDER_TEXT event types into
multiple TextRenderInfo instances for each glyph occurred.
The only difference from GlyphEventListener is that this class conveniently implements
ITextExtractionStrategy and can therefore used as a strategy on its own.delegate| Constructor and Description |
|---|
GlyphTextEventListener(ITextExtractionStrategy delegate)
Constructs a
GlyphEventListener instance by a ITextExtractionStrategy delegate to which
the expanded text events for each glyph occurred will be passed on. |
| Modifier and Type | Method and Description |
|---|---|
String |
getResultantText()
As an resultant text we use the the resultant text of the delegate that implement
ITextExtractionStrategy and was passed to this class. |
eventOccurred, getSupportedEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteventOccurred, getSupportedEventspublic GlyphTextEventListener(ITextExtractionStrategy delegate)
GlyphEventListener instance by a ITextExtractionStrategy delegate to which
the expanded text events for each glyph occurred will be passed on.delegate - delegate to pass the expanded glyph render events to.public String getResultantText()
ITextExtractionStrategy and was passed to this class.getResultantText in interface ITextExtractionStrategyCopyright © 1998–2023 Apryse Group NV. All rights reserved.