C# Class Svg2Xaml.SvgGradientBaseElement

Inheritance: SvgBaseElement
显示文件 Open project: jogibear9988/svg2xaml Class Usage Examples

Public Properties

Property Type Description
GradientUnits SvgGradientUnits
SpreadMethod SvgSpreadMethod
Stops List
Transform SvgTransform

Public Methods

Method Description
SvgGradientBaseElement ( SvgDocument document, SvgBaseElement parent, System.Xml.Linq.XElement gradientElement ) : System
ToBrush ( ) : System.Windows.Media.GradientBrush

Protected Methods

Method Description
CreateBrush ( ) : System.Windows.Media.GradientBrush
SetBrush ( System.Windows.Media.GradientBrush brush ) : System.Windows.Media.GradientBrush

Method Details

CreateBrush() protected abstract method

protected abstract CreateBrush ( ) : System.Windows.Media.GradientBrush
return System.Windows.Media.GradientBrush

SetBrush() protected method

protected SetBrush ( System.Windows.Media.GradientBrush brush ) : System.Windows.Media.GradientBrush
brush System.Windows.Media.GradientBrush
return System.Windows.Media.GradientBrush

SvgGradientBaseElement() public method

public SvgGradientBaseElement ( SvgDocument document, SvgBaseElement parent, System.Xml.Linq.XElement gradientElement ) : System
document SvgDocument
parent SvgBaseElement
gradientElement System.Xml.Linq.XElement
return System

ToBrush() public method

public ToBrush ( ) : System.Windows.Media.GradientBrush
return System.Windows.Media.GradientBrush

Property Details

GradientUnits public_oe property

public SvgGradientUnits GradientUnits
return SvgGradientUnits

SpreadMethod public_oe property

public SvgSpreadMethod SpreadMethod
return SvgSpreadMethod

Stops public_oe property

public List Stops
return List

Transform public_oe property

public SvgTransform,Svg2Xaml Transform
return SvgTransform