LinearGradientBrush LinearGradientBrush LinearGradientBrush LinearGradientBrush Constructors

Definition

Overloads

LinearGradientBrush() LinearGradientBrush() LinearGradientBrush() LinearGradientBrush()

Initializes a new instance of the LinearGradientBrush class.

LinearGradientBrush(GradientStopCollection, Double) LinearGradientBrush(GradientStopCollection, Double) LinearGradientBrush(GradientStopCollection, Double) LinearGradientBrush(GradientStopCollection, Double)

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

LinearGradientBrush() LinearGradientBrush() LinearGradientBrush() LinearGradientBrush()

Initializes a new instance of the LinearGradientBrush class.

public : LinearGradientBrush()
LinearGradientBrush() const;
public LinearGradientBrush()
Public Sub New()

LinearGradientBrush(GradientStopCollection, Double) LinearGradientBrush(GradientStopCollection, Double) LinearGradientBrush(GradientStopCollection, Double) LinearGradientBrush(GradientStopCollection, Double)

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

public : LinearGradientBrush(GradientStopCollection gradientStopCollection, double angle)
LinearGradientBrush(GradientStopCollection gradientStopCollection, double angle) const;
public LinearGradientBrush(GradientStopCollection gradientStopCollection, Double angle)
Public Sub New(gradientStopCollection As GradientStopCollection, angle As Double)

Parameters

gradientStopCollection
GradientStopCollection GradientStopCollection

The GradientStops to set on this brush.

angle
Double Double

A System.Double that represents the angle, in degrees, of the gradient. A value of 0 creates a horizontal gradient, and a value of 90 creates a vertical gradient. Negative values are permitted, as are values over 360 (which are treated as mod 360).