Επεξεργασία

Κοινή χρήση μέσω


RadialGradientBrush Constructors

Definition

Initializes a new instance of the RadialGradientBrush class.

Overloads

RadialGradientBrush()

Initializes a new instance of the RadialGradientBrush class.

RadialGradientBrush(GradientStopCollection)

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

RadialGradientBrush(Color, Color)

Initializes a new instance of the RadialGradientBrush class with the specified start and stop colors.

RadialGradientBrush()

Initializes a new instance of the RadialGradientBrush class.

public:
 RadialGradientBrush();
public RadialGradientBrush ();
Public Sub New ()

Applies to

RadialGradientBrush(GradientStopCollection)

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

public:
 RadialGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection);
public RadialGradientBrush (System.Windows.Media.GradientStopCollection gradientStopCollection);
new System.Windows.Media.RadialGradientBrush : System.Windows.Media.GradientStopCollection -> System.Windows.Media.RadialGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection)

Parameters

gradientStopCollection
GradientStopCollection

The gradient stops to set on this brush.

Applies to

RadialGradientBrush(Color, Color)

Initializes a new instance of the RadialGradientBrush class with the specified start and stop colors.

public:
 RadialGradientBrush(System::Windows::Media::Color startColor, System::Windows::Media::Color endColor);
public RadialGradientBrush (System.Windows.Media.Color startColor, System.Windows.Media.Color endColor);
new System.Windows.Media.RadialGradientBrush : System.Windows.Media.Color * System.Windows.Media.Color -> System.Windows.Media.RadialGradientBrush
Public Sub New (startColor As Color, endColor As Color)

Parameters

startColor
Color

Color value at the focus (GradientOrigin) of the radial gradient.

endColor
Color

Color value at the outer edge of the radial gradient.

Applies to