共用方式為


ID2D1RadialGradientBrush::GetGradientStopCollection 方法 (d2d1.h)

擷取與這個星形漸層筆刷物件相關聯的 ID2D1GradientStopCollection

語法

void GetGradientStopCollection(
  [out] ID2D1GradientStopCollection **gradientStopCollection
);

參數

[out] gradientStopCollection

類型: ID2D1GradientStopCollection**

與這個線性漸層筆刷物件相關聯的 ID2D1GradientStopCollection 物件。 這個參數會以未初始化的狀態傳遞。

傳回值

備註

ID2D1GradientStopCollection 包含 D2D1_GRADIENT_STOP 結構的陣列和其他資訊,例如擴充模式和色彩插補模式。

規格需求

   
最低支援的用戶端 適用于 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 d2d1.h
程式庫 D2d1.lib
Dll D2d1.dll

另請參閱

D2D1_GRADIENT_STOP

ID2D1GradientStopCollection

ID2D1RadialGradientBrush