次の方法で共有


PathGradientBrush.SurroundColors プロパティ

PathGradientBrush オブジェクトで塗りつぶすパス内の点に対応している色の配列を取得または設定します。

Public Property SurroundColors As Color ()
[C#]
public Color[] SurroundColors {get; set;}
[C++]
public: __property Color get_SurroundColors();public: __property void set_SurroundColors(Color[]);
[JScript]
public function get SurroundColors() : Color[];
public function set SurroundColors(Color[]);

プロパティ値

この PathGradientBrush オブジェクトで塗りつぶすパスの各点に関連付けられた色を表す Color 構造体の配列。

解説

SurroundColors 配列内の各 Color 構造体は、パス内の点に対応しています。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

PathGradientBrush クラス | PathGradientBrush メンバ | System.Drawing.Drawing2D 名前空間