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