Interface ISvgElementContainer
Represents an SVG element container.
Namespace: OpenSvg.SvgNodes
Assembly: OpenSvg.dll
Syntax
public interface ISvgElementContainer
Methods
| Edit this page View SourceAdd(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. |
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. |
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. |