LinearGradientBrush::GetBlendCount メソッド (gdiplusbrush.h)

LinearGradientBrush::GetBlendCount メソッドは、この LinearGradientBrush オブジェクトに現在設定されているブレンド 係数の数を取得します。

構文

INT GetBlendCount();

戻り値

型: INT

このメソッドは、この LinearGradientBrush オブジェクトに現在設定されているブレンド 係数の数を返します。 LinearGradientBrush::SetBlend を使用してカスタム ブレンドが設定されていない場合、または無効な位置が LinearGradientBrush::SetBlend に渡された場合、LinearGradientBrush::GetBlend は 1 を返します。

要件

要件
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdiplusbrush.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

こちらもご覧ください

ブラシと図形の塗りつぶし

グラデーション ブラシで図形を塗りつぶす

色のグラデーションで図形を塗りつぶす

LinearGradientBrush

LinearGradientBrush::GetBlend

LinearGradientBrush::SetBlend

Point