C# Class Svg.SvgExtentions

Svg helpers
Mostrar archivo Open project: prepare/HTML-Renderer

Public Methods

Method Description
ApplyRecursive ( this elem, Action action ) : void
ApplyRecursiveDepthFirst ( this elem, Action action ) : void
GetRectangle ( this r ) : RectangleF
GetXML ( this doc ) : string
HasNonEmptyCustomAttribute ( this element, string name ) : bool
SetRectangle ( this r, RectangleF bounds ) : void

Method Details

ApplyRecursive() public static method

public static ApplyRecursive ( this elem, Action action ) : void
elem this
action Action
return void

ApplyRecursiveDepthFirst() public static method

public static ApplyRecursiveDepthFirst ( this elem, Action action ) : void
elem this
action Action
return void

GetRectangle() public static method

public static GetRectangle ( this r ) : RectangleF
r this
return System.Drawing.RectangleF

GetXML() public static method

public static GetXML ( this doc ) : string
doc this
return string

HasNonEmptyCustomAttribute() public static method

public static HasNonEmptyCustomAttribute ( this element, string name ) : bool
element this
name string
return bool

SetRectangle() public static method

public static SetRectangle ( this r, RectangleF bounds ) : void
r this
bounds System.Drawing.RectangleF
return void