Table of Contents

Class PdfRootSvgNodeRenderer

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

Root renderer responsible for applying the initial axis-flipping transform

public class PdfRootSvgNodeRenderer : ISvgNodeRenderer
Inheritance
PdfRootSvgNodeRenderer
Implements
Inherited Members

Constructors

PdfRootSvgNodeRenderer(ISvgNodeRenderer)

Creates a PdfRootSvgNodeRenderer instance.

public PdfRootSvgNodeRenderer(ISvgNodeRenderer subTreeRoot)

Parameters

subTreeRoot ISvgNodeRenderer

root of the subtree

Methods

CreateDeepCopy()

public virtual ISvgNodeRenderer CreateDeepCopy()

Returns

ISvgNodeRenderer

Draw(SvgDrawContext)

public virtual void Draw(SvgDrawContext context)

Parameters

context SvgDrawContext

GetAttribute(string)

public virtual string GetAttribute(string key)

Parameters

key string

Returns

string

GetAttributeMapCopy()

public virtual IDictionary<string, string> GetAttributeMapCopy()

Returns

IDictionary<string, string>

GetObjectBoundingBox(SvgDrawContext)

public virtual Rectangle GetObjectBoundingBox(SvgDrawContext context)

Parameters

context SvgDrawContext

Returns

Rectangle

GetParent()

public virtual ISvgNodeRenderer GetParent()

Returns

ISvgNodeRenderer

SetAttribute(string, string)

public virtual void SetAttribute(string key, string value)

Parameters

key string
value string

SetAttributesAndStyles(IDictionary<string, string>)

public virtual void SetAttributesAndStyles(IDictionary<string, string> attributesAndStyles)

Parameters

attributesAndStyles IDictionary<string, string>

SetParent(ISvgNodeRenderer)

public virtual void SetParent(ISvgNodeRenderer parent)

Parameters

parent ISvgNodeRenderer