指定した点が RectangleF 構造体に含まれているかどうかを判断します。
Overloads Public Function Contains( _
ByVal pt As PointF _) As Boolean
[C#]
public bool Contains(PointFpt);
[C++]
public: bool Contains(PointFpt);
[JScript]
public function Contains(
pt : PointF) : Boolean;
パラメータ
- pt
テスト対象の PointF 。
戻り値
pt パラメータによって表される点がこの RectangleF 構造体に含まれている場合、このメソッドは true を返します。それ以外の場合は false を返します。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
RectangleF 構造体 | RectangleF メンバ | System.Drawing 名前空間 | RectangleF.Contains オーバーロードの一覧