IDWritePaintReader::GetGradientStopColors メソッド (dwrite_3.h)

パレット インデックスなど、各グラデーションの位置に関する色情報を取得します。

構文

HRESULT GetGradientStopColors(
  UINT32             firstGradientStopIndex,
  UINT32             gradientStopCount,
  DWRITE_PAINT_COLOR *gradientStopColors
);

パラメーター

firstGradientStopIndex

種類: UINT32

取得する最初のグラデーションの位置のインデックス。

gradientStopCount

種類: UINT32

取得するグラデーションの停止の数。

gradientStopColors

種類: _Out_writes_(gradientStopCount) DWRITE_PAINT_COLOR *

グラデーションの停止色を受け取ります。

戻り値

標準の HRESULT エラー コード。

要件

要件
サポートされている最小のクライアント Windows 10 Version 1809 (Windows アプリ SDK 1.2 以降)
Header dwrite_3.h