LinearGradientBrush Constructor

LinearGradientBrush Constructor

 

Initializes a new instance of the LinearGradientBrush class.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodLinearGradientBrush()

Initializes a new instance of the LinearGradientBrush class.

System_CAPS_pubmethodLinearGradientBrush(Color, Color, Double)

Initializes a new instance of the LinearGradientBrush class that has the specified start Color, end Color, and angle.

System_CAPS_pubmethodLinearGradientBrush(Color, Color, Point, Point)

Initializes a new instance of the LinearGradientBrush class that has the specified start Color, end Color, StartPoint, and EndPoint.

System_CAPS_pubmethodLinearGradientBrush(GradientStopCollection)

Initializes a new instance of the LinearGradientBrush class that has the specified gradient stops.

System_CAPS_pubmethodLinearGradientBrush(GradientStopCollection, Double)

Initializes a new instance of the LinearGradientBrush class that has the specified GradientStopCollection and angle.

System_CAPS_pubmethodLinearGradientBrush(GradientStopCollection, Point, Point)

Initializes a new instance of the LinearGradientBrush class that has the specified gradient stops, StartPoint, and EndPoint.

The MappingMode of the brush is initialized to RelativeToBoundingBox.

Return to top
Show:
© 2016 Microsoft