次の方法で共有


LinearGradientBrush.Rectangle プロパティ

グラデーションの開始点と終了点を定義する四角形領域を取得します。

Public ReadOnly Property Rectangle As RectangleF
[C#]
public RectangleF Rectangle {get;}
[C++]
public: __property RectangleF get_Rectangle();
[JScript]
public function get Rectangle() : RectangleF;

プロパティ値

グラデーションの開始点と終了点を指定する RectangleF 構造体。

解説

四角形の左側では線形グラデーションの開始点が指定され、四角形の右側では終了点が指定されます。

必要条件

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