GradientStop GradientStop GradientStop GradientStop Constructors

Definition

Overloads

GradientStop() GradientStop() GradientStop()

Initializes a new instance of the GradientStop class.

GradientStop(Color, Double) GradientStop(Color, Double) GradientStop(Color, Double)

Initializes a new instance of the GradientStop class with the specified color and offset.

GradientStop() GradientStop() GradientStop()

Initializes a new instance of the GradientStop class.

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

GradientStop(Color, Double) GradientStop(Color, Double) GradientStop(Color, Double)

Initializes a new instance of the GradientStop class with the specified color and offset.

public:
 GradientStop(System::Windows::Media::Color color, double offset);
public GradientStop (System.Windows.Media.Color color, double offset);
new System.Windows.Media.GradientStop : System.Windows.Media.Color * double -> System.Windows.Media.GradientStop

Parameters

color
Color Color Color Color

The color value of the gradient stop.

offset
Double Double Double Double

The location in the gradient where the gradient stop is placed.

Applies to