Share via


ID2D1GradientStopCollection1::GetPreInterpolationSpace 方法 (d2d1_1.h)

取得輸入色彩的色彩空間,以及插入漸層停駐點的空間。

Syntax

D2D1_COLOR_SPACE GetPreInterpolationSpace();

傳回值

類型: D2D1_COLOR_SPACE

這個方法會傳回色彩空間。

備註

如果使用 ID2D1RenderTarget::CreateGradientStopCollection 建立此物件,這個方法會傳回與色彩插補 gamma 相關的色彩空間。

規格需求

需求
最低支援的用戶端 適用於 Windows 7 的 Windows 8 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 適用於 Windows Server 2008 R2 的 Windows Server 2012 和平臺更新 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 d2d1_1.h
Dll D2d1.dll

另請參閱

ID2D1DeviceContext::CreateEffect

ID2D1DeviceContext::CreateGradientStopCollection

ID2D1GradientStopCollection1

ID2D1RenderTarget::CreateGradientStopCollection