public class ProcessorState extends Object
DefaultSvgProcessor
Constructor and Description |
---|
ProcessorState()
Instantiates the processor state.
|
Modifier and Type | Method and Description |
---|---|
boolean |
empty()
Returns true when the processorstate is empty, false when there is at least one ISvgNodeRenderer in the state.
|
ISvgNodeRenderer |
pop()
Removes and returns the first renderer of the processor state.
|
void |
push(ISvgNodeRenderer svgNodeRenderer)
Adds an ISvgNodeRenderer to the processor's state.
|
int |
size()
Returns the amount of ISvgNodeRenderers being processed.
|
ISvgNodeRenderer |
top()
Returns the first ISvgNodeRenderer object without removing it.
|
public int size()
public void push(ISvgNodeRenderer svgNodeRenderer)
svgNodeRenderer
- renderer to be added to the state
public ISvgNodeRenderer pop()
public ISvgNodeRenderer top()
public boolean empty()
Copyright © 1998–2023 iText Group NV. All rights reserved.