PathGradientBrush::GetSurroundColorCount メソッド (gdipluspath.h)

PathGradientBrush::GetSurroundColorCount メソッドは、このパス グラデーション ブラシの境界パスに指定されている色の数を取得します。

構文

INT GetSurroundColorCount();

戻り値

型: INT

このメソッドは、このパス グラデーション ブラシの境界パスに指定されている色の数を返します。

要件

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

こちらもご覧ください

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

パス グラデーションの作成

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

Graphicspath

PathGradientBrush

PathGradientBrush::GetSurroundColorCount

PathGradientBrush::SetSurroundColors