Share via


GradientBrush.GradientStops 屬性

定義

取得或設定筆刷的漸層停駐點。

public:
 property GradientStopCollection ^ GradientStops { GradientStopCollection ^ get(); void set(GradientStopCollection ^ value); };
GradientStopCollection GradientStops();

void GradientStops(GradientStopCollection value);
public GradientStopCollection GradientStops { get; set; }
var gradientStopCollection = gradientBrush.gradientStops;
gradientBrush.gradientStops = gradientStopCollection;
Public Property GradientStops As GradientStopCollection
<gradientBrush>
  oneOrMoreGradientStops
</gradientBrush>

屬性值

與筆刷相關聯的 GradientStop 物件的集合,每個物件都會指定色彩和筆刷漸層軸的位移。 預設值為空的 GradientStopCollection

適用於