次の方法で共有


Blend.Factors プロパティ

グラデーションのブレンド係数の配列を取得または設定します。

Public Property Factors As Single ()
[C#]
public float[] Factors {get; set;}
[C++]
public: __property float get_Factors();public: __property void set_Factors(float __gc[]);
[JScript]
public function get Factors() : float[];
public function set Factors(float[]);

プロパティ値

対応するブレンド位置で使用される開始色と終了色の割合を指定するブレンド係数の配列。

解説

通常、この配列の要素の値は 0.0f ~ 1.0f です。これらの要素によって、対応するブレンド位置で使用される、開始色と終了色の割合が指定されます。たとえば、指定した位置での値が 0.2 の場合、ブレンドされる色はグラデーション開始色の 20% とグラデーション終了色の 80% の割合になります。

必要条件

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

参照

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