C# Class SharpVectors.Dom.Svg.SvgStyleableElement

SvgStyleableElement is an extension to the Svg DOM to create a class for all elements that are styleable.
Inheritance: SvgElement, ISvgStylable
Mostrar archivo Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
GetComputedStyle ( string pseudoElt ) : ICssStyleDeclaration
GetPresentationAttribute ( string name ) : ICssValue
GetPropertyValue ( string name ) : string
GetPropertyValue ( string name1, string name2 ) : string
HandleAttributeChange ( XmlAttribute attribute ) : void

Private Methods

Method Description
SvgStyleableElement ( string prefix, string localname, string ns, SvgDocument doc ) : System

Method Details

GetComputedStyle() public method

public GetComputedStyle ( string pseudoElt ) : ICssStyleDeclaration
pseudoElt string
return ICssStyleDeclaration

GetPresentationAttribute() public method

public GetPresentationAttribute ( string name ) : ICssValue
name string
return ICssValue

GetPropertyValue() public method

public GetPropertyValue ( string name ) : string
name string
return string

GetPropertyValue() public method

public GetPropertyValue ( string name1, string name2 ) : string
name1 string
name2 string
return string

HandleAttributeChange() public method

public HandleAttributeChange ( XmlAttribute attribute ) : void
attribute System.Xml.XmlAttribute
return void