Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Interface ISvgElementContainer

Represents an SVG element container.

Namespace: OpenSvg.SvgNodes
Assembly: OpenSvg.dll
Syntax
public interface ISvgElementContainer

Methods

| Edit this page View Source

Add(SvgElement)

Adds a child element to the current element.

Declaration
void Add(SvgElement child)
Parameters
Type Name Description
SvgElement child

The child element to add.

| Edit this page View Source

Children()

Gets the children of the current element.

Declaration
IEnumerable<SvgElement> Children()
Returns
Type Description
IEnumerable<SvgElement>

An enumerable of SvgElement containing the children of the current element.

| Edit this page View Source

Descendants()

Returns an enumerable of SvgElement containing the descendants (children and their children down to the leaf level) of the specified type.

Declaration
IEnumerable<SvgElement> Descendants()
Returns
Type Description
IEnumerable<SvgElement>

An enumerable of SvgElement containing the descendants of the specified type.