Redigera

Dela via


LinearGradientBrush.LinearColors Property

Definition

Gets or sets the starting and ending colors of the gradient.

public:
 property cli::array <System::Drawing::Color> ^ LinearColors { cli::array <System::Drawing::Color> ^ get(); void set(cli::array <System::Drawing::Color> ^ value); };
public System.Drawing.Color[] LinearColors { get; set; }
member this.LinearColors : System.Drawing.Color[] with get, set
Public Property LinearColors As Color()

Property Value

Color[]

An array of two Color structures that represents the starting and ending colors of the gradient.

Applies to