語言

GradientStop 建構函式

定義

初始化 GradientStop 類別的新執行個體。

多載

名稱 Description
GradientStop()

初始化 GradientStop 類別的新執行個體。

GradientStop(Color, Double)

初始化一個以指定顏色和偏移量的新類別實例 GradientStop 。

GradientStop()

初始化 GradientStop 類別的新執行個體。

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

適用於

GradientStop(Color, Double)

初始化一個以指定顏色和偏移量的新類別實例 GradientStop 。

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
Public Sub New (color As Color, offset As Double)

參數

color
Color

漸層的色值。

offset
Double

梯度中設置梯度止點的位置。

適用於