次の方法で共有


PathGradientBrush.InterpolationColors プロパティ

複数の色による線形グラデーションを定義する ColorBlend オブジェクトを取得または設定します。

Public Property InterpolationColors As ColorBlend
[C#]
public ColorBlend InterpolationColors {get; set;}
[C++]
public: __property ColorBlend* get_InterpolationColors();public: __property void set_InterpolationColors(ColorBlend*);
[JScript]
public function get InterpolationColors() : ColorBlend;public function set InterpolationColors(ColorBlend);

プロパティ値

複数の色による線形グラデーションを定義する ColorBlend オブジェクト。

解説

ColorBlend オブジェクトには、相互に対応した色の配列と位置の配列が含まれています。この位置は、対応する色が配置される位置を、グラデーション パスに沿った距離の割合で指定する 0 ~ 1 の値になります。

必要条件

プラットフォーム: 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 名前空間