C# Class Svg2Xaml.SvgLinearGradientElement

Represents a <linearGradient> element.
Inheritance: SvgGradientBaseElement
显示文件 Open project: jogibear9988/svg2xaml

Public Properties

Property Type Description
X1 SvgCoordinate
X2 SvgCoordinate
Y1 SvgCoordinate
Y2 SvgCoordinate

Public Methods

Method Description
SvgLinearGradientElement ( SvgDocument document, SvgBaseElement parent, System.Xml.Linq.XElement linearGradientElement ) : System.Windows

Protected Methods

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

Method Details

CreateBrush() protected method

protected 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

SvgLinearGradientElement() public method

public SvgLinearGradientElement ( SvgDocument document, SvgBaseElement parent, System.Xml.Linq.XElement linearGradientElement ) : System.Windows
document SvgDocument
parent SvgBaseElement
linearGradientElement System.Xml.Linq.XElement
return System.Windows

Property Details

X1 public_oe property

public SvgCoordinate,Svg2Xaml X1
return SvgCoordinate

X2 public_oe property

public SvgCoordinate,Svg2Xaml X2
return SvgCoordinate

Y1 public_oe property

public SvgCoordinate,Svg2Xaml Y1
return SvgCoordinate

Y2 public_oe property

public SvgCoordinate,Svg2Xaml Y2
return SvgCoordinate