GradientBrush Constructors

Definition

Initializes a new instance of the GradientBrush class.

Overloads

GradientBrush()

Initializes a new instance of the GradientBrush class.

GradientBrush(GradientStopCollection)

Initializes a new instance of the GradientBrush class with the specified GradientStopCollection.

GradientBrush()

Initializes a new instance of the GradientBrush class.

protected GradientBrush ();

Applies to

.NET Framework 4.8.1 және басқа нұсқалар
Өнім Нұсқалар
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GradientBrush(GradientStopCollection)

Initializes a new instance of the GradientBrush class with the specified GradientStopCollection.

protected GradientBrush (System.Windows.Media.GradientStopCollection gradientStopCollection);

Parameters

gradientStopCollection
GradientStopCollection

The GradientStopCollection used to specify the location and color of the transition points in a gradient.

Applies to

.NET Framework 4.8.1 және басқа нұсқалар
Өнім Нұсқалар
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9