GraphicsPath.IsVisible メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > GraphicsPath.IsVisible メソッドの意味・解説 

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

指定した点がこの GraphicsPath に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

解説解説
使用例使用例

例については、IsVisible(Int32,Int32,Graphics) のトピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

GraphicsPath.IsVisible メソッド (Int32, Int32)

指定した点がこの GraphicsPath に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Function IsVisible ( _
    x As Integer, _
    y As Integer _
) As Boolean
Dim instance As GraphicsPath
Dim x As Integer
Dim y As Integer
Dim returnValue As Boolean

returnValue = instance.IsVisible(x, y)
public bool IsVisible (
    int x,
    int y
)
public:
bool IsVisible (
    int x, 
    int y
)
public boolean IsVisible (
    int x, 
    int y
)
public function IsVisible (
    x : int, 
    y : int
) : boolean

パラメータ

x

テストする点の x 座標

y

テストする点の y 座標

戻り値
このメソッドは、指定した点がこの GraphicsPath中に含まれる場合true返しますそれ以外場合false返します

使用例使用例

例については、IsVisible(Int32,Int32,Graphics) のトピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

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

指定した Graphics表示されているクリップ領域にある、この GraphicsPath 内に、指定した点が含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

解説解説
使用例使用例

例については、IsVisible(Int32,Int32,Graphics) のトピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

GraphicsPath.IsVisible メソッド (Single, Single)

指定した点がこの GraphicsPath に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Function IsVisible ( _
    x As Single, _
    y As Single _
) As Boolean
Dim instance As GraphicsPath
Dim x As Single
Dim y As Single
Dim returnValue As Boolean

returnValue = instance.IsVisible(x, y)
public bool IsVisible (
    float x,
    float y
)
public:
bool IsVisible (
    float x, 
    float y
)
public boolean IsVisible (
    float x, 
    float y
)
public function IsVisible (
    x : float, 
    y : float
) : boolean

パラメータ

x

テストする点の x 座標

y

テストする点の y 座標

戻り値
このメソッドは、指定した点がこの GraphicsPath中に含まれる場合true返しますそれ以外場合false返します

使用例使用例

例については、IsVisible(Int32,Int32,Graphics) のトピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

GraphicsPath.IsVisible メソッド (Point)

指定した点がこの GraphicsPath に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

使用例使用例

例については、GraphicsPath.IsVisible Method (Int32, Int32, Graphics)トピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

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

指定した点がこの GraphicsPath に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

解説解説
使用例使用例

例については、GraphicsPath.IsVisible Method (Int32, Int32, Graphics)トピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

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

指定した Graphics使用して指定した点が GraphicsPath 内に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

解説解説
使用例使用例

次のコード例は、Windows フォームでの使用意図してデザインされており、OnPaint イベント オブジェクトである PaintEventArgse が必要です。このコード次のアクション実行します

Public Sub IsVisibleExample(ByVal
 e As PaintEventArgs)
    Dim myPath As New GraphicsPath
    myPath.AddEllipse(0, 0, 100, 100)
    Dim visible As Boolean
 = myPath.IsVisible(50, 50, e.Graphics)
    MessageBox.Show(visible.ToString())
End Sub
private void IsVisibleExample(PaintEventArgs
 e)
{
             
    // Create a path and add an ellipse.
    GraphicsPath myPath = new GraphicsPath();
    myPath.AddEllipse(0, 0, 100, 100);
             
    // Test the visibility of point (50, 50).
    bool visible = myPath.IsVisible(50, 50, e.Graphics);
             
    // Show the result.
    MessageBox.Show(visible.ToString());
}
private:
   void IsVisibleExample( PaintEventArgs^ e )
   {
      
      // Create a path and add an ellipse.
      GraphicsPath^ myPath = gcnew GraphicsPath;
      myPath->AddEllipse( 0, 0, 100, 100 );
      
      // Test the visibility of point (50, 50).
      bool visible = myPath->IsVisible( 50, 50, e->Graphics
 );
      
      // Show the result.
      MessageBox::Show( visible.ToString() );
   }
private void IsVisibleExample(PaintEventArgs
 e)
{
    // Create a path and add an ellipse.
    GraphicsPath myPath = new GraphicsPath();

    myPath.AddEllipse(0, 0, 100, 100);

    // Test the visibility of point (50, 50).
    boolean visible = myPath.IsVisible(50, 50, e.get_Graphics());

    // Show the result.
    MessageBox.Show(System.Convert.ToString(visible));
} //IsVisibleExample
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

GraphicsPath.IsVisible メソッド

指定した点がこの GraphicsPath に含まれているかどうか示します
オーバーロードの一覧オーバーロードの一覧

名前 説明
GraphicsPath.IsVisible (Point) 指定した点がこの GraphicsPath含まれているかどうか示します
GraphicsPath.IsVisible (PointF) 指定した点がこの GraphicsPath含まれているかどうか示します
GraphicsPath.IsVisible (Int32, Int32) 指定した点がこの GraphicsPath含まれているかどうか示します
GraphicsPath.IsVisible (Point, Graphics) 指定した点がこの GraphicsPath含まれているかどうか示します
GraphicsPath.IsVisible (PointF, Graphics) 指定した点がこの GraphicsPath含まれているかどうか示します
GraphicsPath.IsVisible (Single, Single) 指定した点がこの GraphicsPath含まれているかどうか示します
GraphicsPath.IsVisible (Int32, Int32, Graphics) 指定した Graphics使用して指定した点が GraphicsPath 内に含まれているかどうか示します
GraphicsPath.IsVisible (Single, Single, Graphics) 指定した Graphics表示されているクリップ領域にある、この GraphicsPath 内に、指定した点が含まれているかどうか示します
参照参照

関連項目

GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間

GraphicsPath.IsVisible メソッド (PointF)

指定した点がこの GraphicsPath に含まれているかどうか示します

名前空間: System.Drawing.Drawing2D
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Function IsVisible ( _
    point As PointF _
) As Boolean
Dim instance As GraphicsPath
Dim point As PointF
Dim returnValue As Boolean

returnValue = instance.IsVisible(point)
public bool IsVisible (
    PointF point
)
public:
bool IsVisible (
    PointF point
)
public boolean IsVisible (
    PointF point
)
public function IsVisible (
    point : PointF
) : boolean

パラメータ

point

テストする点を表す PointF。

戻り値
このメソッドは、指定した点がこの GraphicsPath中に含まれる場合true返しますそれ以外場合false返します

使用例使用例

例については、IsVisible(Int32,Int32,Graphics) のトピック参照してください

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GraphicsPath クラス
GraphicsPath メンバ
System.Drawing.Drawing2D 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

GraphicsPath.IsVisible メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



GraphicsPath.IsVisible メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS