Class SvgExtentions
Inheritance
System.Object
SvgExtentions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Svg
Assembly: TelerikCommon.dll
Syntax
public static class SvgExtentions
Methods
ApplyRecursive(SvgElement, Action<SvgElement>)
Declaration
public static void ApplyRecursive(this SvgElement elem, Action<SvgElement> action)
Parameters
SvgElement
elem
|
System.Action<SvgElement>
action
|
ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)
Declaration
public static void ApplyRecursiveDepthFirst(this SvgElement elem, Action<SvgElement> action)
Parameters
SvgElement
elem
|
System.Action<SvgElement>
action
|
GetRectangle(SvgRectangle)
Declaration
public static RectangleF GetRectangle(this SvgRectangle r)
Parameters
SvgRectangle
r
|
Returns
System.Drawing.RectangleF
|
GetXML(SvgDocument)
Declaration
public static string GetXML(this SvgDocument doc)
Parameters
SvgDocument
doc
|
Returns
System.String
|
GetXML(SvgElement)
Declaration
public static string GetXML(this SvgElement elem)
Parameters
SvgElement
elem
|
Returns
System.String
|
HasNonEmptyCustomAttribute(SvgElement, String)
Declaration
public static bool HasNonEmptyCustomAttribute(this SvgElement element, string name)
Parameters
SvgElement
element
|
System.String
name
|
Returns
System.Boolean
|
SetRectangle(SvgRectangle, RectangleF)
Declaration
public static void SetRectangle(this SvgRectangle r, RectangleF bounds)
Parameters
SvgRectangle
r
|
System.Drawing.RectangleF
bounds
|
Traverse<T>(T, Func<T, IEnumerable<T>>)
Declaration
public static IEnumerable<T> Traverse<T>(this T root, Func<T, IEnumerable<T>> childrenSelector)
Parameters
T
root
|
System.Func<T, System.Collections.Generic.IEnumerable<T>>
childrenSelector
|
Returns
System.Collections.Generic.IEnumerable<T>
|
Type Parameters
T
|
Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
Declaration
public static IEnumerable<T> Traverse<T>(this IEnumerable<T> items, Func<T, IEnumerable<T>> childrenSelector)
Parameters
System.Collections.Generic.IEnumerable<T>
items
|
System.Func<T, System.Collections.Generic.IEnumerable<T>>
childrenSelector
|
Returns
System.Collections.Generic.IEnumerable<T>
|
Type Parameters
T
|
TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Declaration
public static IEnumerable<T> TraverseDepthFirst<T>(this T root, Func<T, IEnumerable<T>> childrenSelector)
Parameters
T
root
|
System.Func<T, System.Collections.Generic.IEnumerable<T>>
childrenSelector
|
Returns
System.Collections.Generic.IEnumerable<T>
|
Type Parameters
T
|
TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
Declaration
public static IEnumerable<T> TraverseDepthFirst<T>(this IEnumerable<T> items, Func<T, IEnumerable<T>> childrenSelector)
Parameters
System.Collections.Generic.IEnumerable<T>
items
|
System.Func<T, System.Collections.Generic.IEnumerable<T>>
childrenSelector
|
Returns
System.Collections.Generic.IEnumerable<T>
|
Type Parameters
T
|