次の方法で共有


GraphicsPath.IsVisible メソッド (PointF, Graphics)

指定した点が GraphicsPath オブジェクト内に含まれているかどうかを示します。

Overloads Public Function IsVisible( _
   ByVal pt As PointF, _   ByVal graphics As Graphics _) As Boolean
[C#]
public bool IsVisible(PointFpt,Graphicsgraphics);
[C++]
public: bool IsVisible(PointFpt,Graphics* graphics);
[JScript]
public function IsVisible(
   pt : PointF,graphics : Graphics) : Boolean;

パラメータ

  • pt
    テストする位置を表す PointF 構造体。
  • graphics
    表示可能範囲をテストする対象の Graphics オブジェクト。

戻り値

このメソッドは、指定した点がこのオブジェクトの中に含まれる場合は 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 オーバーロードの一覧