Table of Contents

Class SvgExtentions

Namespace
Svg
Assembly
Svg.dll

Svg helpers

public static class SvgExtentions
Inheritance
SvgExtentions
Inherited Members

Methods

ApplyRecursive(SvgElement, Action<SvgElement>)

public static void ApplyRecursive(this SvgElement elem, Action<SvgElement> action)

Parameters

elem SvgElement
action Action<SvgElement>

ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)

public static void ApplyRecursiveDepthFirst(this SvgElement elem, Action<SvgElement> action)

Parameters

elem SvgElement
action Action<SvgElement>

GetRectangle(SvgRectangle)

public static RectangleF GetRectangle(this SvgRectangle r)

Parameters

r SvgRectangle

Returns

RectangleF

GetXML(SvgDocument)

public static string GetXML(this SvgDocument doc)

Parameters

doc SvgDocument

Returns

string

GetXML(SvgElement)

public static string GetXML(this SvgElement elem)

Parameters

elem SvgElement

Returns

string

HasNonEmptyCustomAttribute(SvgElement, string)

public static bool HasNonEmptyCustomAttribute(this SvgElement element, string name)

Parameters

element SvgElement
name string

Returns

bool

SetRectangle(SvgRectangle, RectangleF)

public static void SetRectangle(this SvgRectangle r, RectangleF bounds)

Parameters

r SvgRectangle
bounds RectangleF