指定の Graphics オブジェクトを使用して描画した場合に、指定の点がこの Region オブジェクト内に含まれるかどうかをテストします。
Overloads Public Function IsVisible( _
ByVal x As Integer, _ ByVal y As Integer, _ ByVal g As Graphics _) As Boolean
[C#]
public bool IsVisible(intx,inty,Graphicsg);
[C++]
public: bool IsVisible(intx,inty,Graphics* g);
[JScript]
public function IsVisible(
x : int,y : int,g : Graphics) : Boolean;
パラメータ
- x
テストする点の x 座標。 - y
テストする点の y 座標。 - g
グラフィックス コンテキストを表す Graphics オブジェクト。
戻り値
このメソッドは、指定した点が Region オブジェクトの中に含まれる場合は true を返します。それ以外の場合は false を返します。
解説
グラフィックス コンテキストの現在の変換は、描画面の領域内部と点の座標を計算するために使用されます。
使用例
例については、 Region.IsVisible Method (RectangleF) を参照してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
Region クラス | Region メンバ | System.Drawing 名前空間 | Region.IsVisible オーバーロードの一覧