GraphicsPath.IsVisible メソッド (Single, Single, Graphics)
指定された Graphics オブジェクトの表示されているクリップ領域にある、この GraphicsPath オブジェクト内に、指定された点が含まれているかどうかを示します。
Overloads Public Function IsVisible( _
ByVal x As Single, _ ByVal y As Single, _ ByVal graphics As Graphics _) As Boolean
[C#]
public bool IsVisible(floatx,floaty,Graphicsgraphics);
[C++]
public: bool IsVisible(floatx,floaty,Graphics* graphics);
[JScript]
public function IsVisible(
x : float,y : float,graphics : Graphics) : Boolean;
パラメータ
- x
テストする点の x 座標。 - y
テストする点の y 座標。 - graphics
表示可能範囲をテストする対象の Graphics オブジェクト。
戻り値
このメソッドは、指定した点が GraphicsPath オブジェクトの中に含まれる場合は true を返します。それ以外の場合は false を返します。
解説
テスト対象の点の座標は、ワールド座標で指定します。 graphics パラメータの変換行列は、参照可能範囲をテストする前に一時的に適用されます。
使用例
例については、 GraphicsPath.IsVisible Method (Int32, Int32, Graphics) のトピックを参照してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
GraphicsPath クラス | GraphicsPath メンバ | System.Drawing.Drawing2D 名前空間 | GraphicsPath.IsVisible オーバーロードの一覧