public class GlyphEventListener extends Object implements IEventListener
TextRenderInfo for EventType.RENDER_TEXT event types into
multiple TextRenderInfo instances for each glyph occurred.| Modifier and Type | Field and Description |
|---|---|
protected IEventListener |
delegate |
| Constructor and Description |
|---|
GlyphEventListener(IEventListener delegate)
Constructs a
GlyphEventListener instance by a delegate to which the expanded text events for each
glyph occurred will be passed on. |
| Modifier and Type | Method and Description |
|---|---|
void |
eventOccurred(IEventData data,
EventType type)
Called when some event occurs during parsing a content stream.
|
Set<EventType> |
getSupportedEvents()
Provides the set of event types this listener supports.
|
protected final IEventListener delegate
public GlyphEventListener(IEventListener delegate)
GlyphEventListener instance by a 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 void eventOccurred(IEventData data, EventType type)
IEventListenereventOccurred in interface IEventListenerdata - Combines the data required for processing corresponding event type.type - Event type.public Set<EventType> getSupportedEvents()
IEventListenergetSupportedEvents in interface IEventListenerCopyright © 1998–2017 iText Group NV. All rights reserved.