Table of Contents

Class AbstractBranchSvgNodeRenderer

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

Abstract class that will be the superclass for any element that can function as a parent.

public abstract class AbstractBranchSvgNodeRenderer : AbstractSvgNodeRenderer, IBranchSvgNodeRenderer, ISvgNodeRenderer
Inheritance
AbstractBranchSvgNodeRenderer
Implements
Derived
Inherited Members

Constructors

AbstractBranchSvgNodeRenderer()

protected AbstractBranchSvgNodeRenderer()

Fields

VIEWBOX_VALUES_NUMBER

The number of viewBox values.

protected const int VIEWBOX_VALUES_NUMBER = 4

Field Value

int

Methods

AddChild(ISvgNodeRenderer)

public void AddChild(ISvgNodeRenderer child)

Parameters

child ISvgNodeRenderer

CreateDeepCopy()

public override abstract ISvgNodeRenderer CreateDeepCopy()

Returns

ISvgNodeRenderer

DeepCopyChildren(AbstractBranchSvgNodeRenderer)

Create a deep copy of every child renderer and add them to the passed AbstractBranchSvgNodeRenderer

protected void DeepCopyChildren(AbstractBranchSvgNodeRenderer deepCopy)

Parameters

deepCopy AbstractBranchSvgNodeRenderer

renderer to add copies of children to

DoDraw(SvgDrawContext)

Method that will set properties to be inherited by this branch renderer's children and will iterate over all children in order to draw them.

protected override void DoDraw(SvgDrawContext context)

Parameters

context SvgDrawContext

the object that knows the place to draw this element and maintains its state

GetChildren()

public IList<ISvgNodeRenderer> GetChildren()

Returns

IList<ISvgNodeRenderer>