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
elemSvgElementactionAction<SvgElement>
ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)
public static void ApplyRecursiveDepthFirst(this SvgElement elem, Action<SvgElement> action)
Parameters
elemSvgElementactionAction<SvgElement>
GetRectangle(SvgRectangle)
public static RectangleF GetRectangle(this SvgRectangle r)
Parameters
Returns
GetXML(SvgDocument)
public static string GetXML(this SvgDocument doc)
Parameters
docSvgDocument
Returns
GetXML(SvgElement)
public static string GetXML(this SvgElement elem)
Parameters
elemSvgElement
Returns
HasNonEmptyCustomAttribute(SvgElement, string)
public static bool HasNonEmptyCustomAttribute(this SvgElement element, string name)
Parameters
elementSvgElementnamestring
Returns
SetRectangle(SvgRectangle, RectangleF)
public static void SetRectangle(this SvgRectangle r, RectangleF bounds)
Parameters
rSvgRectangleboundsRectangleF