Table of Contents

Class ProcessorState

Namespace
iText.Svg.Processors.Impl
Assembly
itext.svg.dll

Internal ProcessorState representation for DefaultSvgProcessor

public class ProcessorState
Inheritance
ProcessorState
Inherited Members

Constructors

ProcessorState()

Instantiates the processor state.

public ProcessorState()

Methods

Empty()

Returns true when the processorstate is empty, false when there is at least one ISvgNodeRenderer in the state.

public virtual bool Empty()

Returns

bool

true if empty, false if not empty

Pop()

Removes and returns the first renderer of the processor state.

public virtual ISvgNodeRenderer Pop()

Returns

ISvgNodeRenderer

the removed ISvgNodeRenderer object

Push(ISvgNodeRenderer)

Adds an ISvgNodeRenderer to the processor's state.

public virtual void Push(ISvgNodeRenderer svgNodeRenderer)

Parameters

svgNodeRenderer ISvgNodeRenderer

renderer to be added to the state

Size()

Returns the amount of ISvgNodeRenderers being processed.

public virtual int Size()

Returns

int

amount of ISvgNodeRenderers

Top()

Returns the first ISvgNodeRenderer object without removing it.

public virtual ISvgNodeRenderer Top()

Returns

ISvgNodeRenderer

the first ISvgNodeRenderer