複数の色による線形グラデーションを定義する 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 の値になります。
このプロパティを設定すると、グラデーション線に沿って各位置に 1 つの色が配置される、多色グラデーションが作成されます。このプロパティを設定すると、この LinearGradientBrush オブジェクトに対するそれまでのすべての色、位置、および減色の設定が無効になります。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
LinearGradientBrush クラス | LinearGradientBrush メンバ | System.Drawing.Drawing2D 名前空間