GraphicsPath.IsOutlineVisibleとは? わかりやすく解説

GraphicsPath.IsOutlineVisible メソッド (PointF, Pen)

指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

Public Function IsOutlineVisible ( _
    point As PointF, _
    pen As Pen _
) As Boolean
Dim instance As GraphicsPath
Dim point As PointF
Dim pen As Pen
Dim returnValue As Boolean

returnValue = instance.IsOutlineVisible(point, pen)
public bool IsOutlineVisible (
    PointF point,
    Pen pen
)
public:
bool IsOutlineVisible (
    PointF point, 
    Pen^ pen
)
public boolean IsOutlineVisible (
    PointF point, 
    Pen pen
)
public function IsOutlineVisible (
    point : PointF, 
    pen : Pen
) : boolean

パラメータ

point

テストする場所を指定する PointF。

pen

テスト対象の Pen。

戻り値
このメソッドは、指定した Pen で描画した場合、指定した点が GraphicsPath のアウトラインの中に含まれる場合は true を返します。それ以外の場合は false を返します。

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

GraphicsPath.IsOutlineVisible メソッド (Point, Pen)

指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

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

GraphicsPath.IsOutlineVisible メソッド (PointF, Pen, Graphics)

指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

Public Function IsOutlineVisible ( _
    pt As PointF, _
    pen As Pen, _
    graphics As Graphics _
) As Boolean
Dim instance As GraphicsPath
Dim pt As PointF
Dim pen As Pen
Dim graphics As Graphics
Dim returnValue As Boolean

returnValue = instance.IsOutlineVisible(pt, pen, graphics)
public bool IsOutlineVisible (
    PointF pt,
    Pen pen,
    Graphics graphics
)
public:
bool IsOutlineVisible (
    PointF pt, 
    Pen^ pen, 
    Graphics^ graphics
)
public boolean IsOutlineVisible (
    PointF pt, 
    Pen pen, 
    Graphics graphics
)
public function IsOutlineVisible (
    pt : PointF, 
    pen : Pen, 
    graphics : Graphics
) : boolean

パラメータ

pt

テストする場所を指定する PointF。

pen

テスト対象の Pen。

graphics

参照可能範囲をテストする Graphics。

戻り値
このメソッドは、指定した Pen で描画したときに、指定した点がこの GraphicsPath アウトラインの中に含まれる場合は true を返します。それ以外の場合は false を返します。

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

GraphicsPath.IsOutlineVisible メソッド (Point, Pen, Graphics)

指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

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

GraphicsPath.IsOutlineVisible メソッド (Int32, Int32, Pen, Graphics)

指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

Public Function IsOutlineVisible ( _
    x As Integer, _
    y As Integer, _
    pen As Pen, _
    graphics As Graphics _
) As Boolean
Dim instance As GraphicsPath
Dim x As Integer
Dim y As Integer
Dim pen As Pen
Dim graphics As Graphics
Dim returnValue As Boolean

returnValue = instance.IsOutlineVisible(x, y, pen, graphics)
public bool IsOutlineVisible (
    int x,
    int y,
    Pen pen,
    Graphics graphics
)
public:
bool IsOutlineVisible (
    int x, 
    int y, 
    Pen^ pen, 
    Graphics^ graphics
)
public boolean IsOutlineVisible (
    int x, 
    int y, 
    Pen pen, 
    Graphics graphics
)
public function IsOutlineVisible (
    x : int, 
    y : int, 
    pen : Pen, 
    graphics : Graphics
) : boolean

パラメータ

x

テストする点の x 座標。

y

テストする点の y 座標。

pen

テスト対象の Pen。

graphics

参照可能範囲をテストする Graphics。

戻り値
このメソッドは、指定した Pen で描画したときに、指定した点がこの GraphicsPath のアウトラインの中に含まれる場合は true を返します。それ以外の場合は false を返します。

解説解説
使用例使用例

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

結果は、メッセージ ボックスに表示されます (この場合は true)。つまり、その点の上に端が描画されています。

Public Sub IsOutlineVisibleExample(ByVal
 e As PaintEventArgs)
    Dim myPath As New GraphicsPath
    Dim rect As New Rectangle(20,
 20, 100, 100)
    myPath.AddRectangle(rect)
    Dim testPen As New Pen(Color.Black,
 20)
    myPath.Widen(testPen)
    e.Graphics.FillPath(Brushes.Black, myPath)
    Dim visible As Boolean
 = myPath.IsOutlineVisible(100, 50, _
    testPen, e.Graphics)
    MessageBox.Show(("visible = " + visible.ToString()))
End Sub
public void IsOutlineVisibleExample(PaintEventArgs
 e)
{
    GraphicsPath myPath = new GraphicsPath();
    Rectangle rect = new Rectangle(20, 20, 100, 100);
    myPath.AddRectangle(rect);
    Pen testPen = new Pen(Color.Black, 20);
    myPath.Widen(testPen);
    e.Graphics.FillPath(Brushes.Black, myPath);
    bool visible = myPath.IsOutlineVisible(100, 50, testPen,
        e.Graphics);
    MessageBox.Show("visible = " + visible.ToString());
}
public:
   void IsOutlineVisibleExample( PaintEventArgs^ e )
   {
      GraphicsPath^ myPath = gcnew GraphicsPath;
      Rectangle rect = Rectangle(20,20,100,100);
      myPath->AddRectangle( rect );
      Pen^ testPen = gcnew Pen( Color::Black,20.0f );
      myPath->Widen( testPen );
      e->Graphics->FillPath( Brushes::Black, myPath );
      bool visible = myPath->IsOutlineVisible( 100, 50, testPen,
 e->Graphics );
      MessageBox::Show( String::Format( "visible = {0}", visible ) );
   }
public void IsOutlineVisibleExample(PaintEventArgs
 e)
{
    GraphicsPath myPath = new GraphicsPath();
    Rectangle rect = new Rectangle(20, 20, 100, 100);

    myPath.AddRectangle(rect);

    Pen testPen = new Pen(Color.get_Black(), 20);

    myPath.Widen(testPen);
    e.get_Graphics().FillPath(Brushes.get_Black(), myPath);

    boolean visible = myPath.IsOutlineVisible(100, 50, testPen,
                    e.get_Graphics());

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

GraphicsPath.IsOutlineVisible メソッド (Single, Single, Pen)

指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

Public Function IsOutlineVisible ( _
    x As Single, _
    y As Single, _
    pen As Pen _
) As Boolean
Dim instance As GraphicsPath
Dim x As Single
Dim y As Single
Dim pen As Pen
Dim returnValue As Boolean

returnValue = instance.IsOutlineVisible(x, y, pen)
public bool IsOutlineVisible (
    float x,
    float y,
    Pen pen
)
public:
bool IsOutlineVisible (
    float x, 
    float y, 
    Pen^ pen
)
public boolean IsOutlineVisible (
    float x, 
    float y, 
    Pen pen
)
public function IsOutlineVisible (
    x : float, 
    y : float, 
    pen : Pen
) : boolean

パラメータ

x

テストする点の x 座標。

y

テストする点の y 座標。

pen

テスト対象の Pen。

戻り値
このメソッドは、指定した Pen で描画した場合、指定した点が GraphicsPath のアウトラインの中に含まれる場合は true を返します。それ以外の場合は false を返します。

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

GraphicsPath.IsOutlineVisible メソッド (Int32, Int32, Pen)

指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

Public Function IsOutlineVisible ( _
    x As Integer, _
    y As Integer, _
    pen As Pen _
) As Boolean
Dim instance As GraphicsPath
Dim x As Integer
Dim y As Integer
Dim pen As Pen
Dim returnValue As Boolean

returnValue = instance.IsOutlineVisible(x, y, pen)
public bool IsOutlineVisible (
    int x,
    int y,
    Pen pen
)
public:
bool IsOutlineVisible (
    int x, 
    int y, 
    Pen^ pen
)
public boolean IsOutlineVisible (
    int x, 
    int y, 
    Pen pen
)
public function IsOutlineVisible (
    x : int, 
    y : int, 
    pen : Pen
) : boolean

パラメータ

x

テストする点の x 座標。

y

テストする点の y 座標。

pen

テスト対象の Pen。

戻り値
このメソッドは、指定した Pen で描画した場合、指定した点が GraphicsPath のアウトラインの中に含まれる場合は true を返します。それ以外の場合は false を返します。

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

GraphicsPath.IsOutlineVisible メソッド

指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
GraphicsPath.IsOutlineVisible (Point, Pen) 指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (PointF, Pen) 指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (Int32, Int32, Pen) 指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (Point, Pen, Graphics) 指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (PointF, Pen, Graphics) 指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (Single, Single, Pen) 指定した Pen で描画された場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (Int32, Int32, Pen, Graphics) 指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
GraphicsPath.IsOutlineVisible (Single, Single, Pen, Graphics) 指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。
参照参照

関連項目

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

GraphicsPath.IsOutlineVisible メソッド (Single, Single, Pen, Graphics)

指定した Pen で描画され、指定した Graphics を使用している場合に、指定した点が GraphicsPath のアウトラインの中に含まれているかどうかを示します。

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

Public Function IsOutlineVisible ( _
    x As Single, _
    y As Single, _
    pen As Pen, _
    graphics As Graphics _
) As Boolean
Dim instance As GraphicsPath
Dim x As Single
Dim y As Single
Dim pen As Pen
Dim graphics As Graphics
Dim returnValue As Boolean

returnValue = instance.IsOutlineVisible(x, y, pen, graphics)
public bool IsOutlineVisible (
    float x,
    float y,
    Pen pen,
    Graphics graphics
)
public:
bool IsOutlineVisible (
    float x, 
    float y, 
    Pen^ pen, 
    Graphics^ graphics
)
public boolean IsOutlineVisible (
    float x, 
    float y, 
    Pen pen, 
    Graphics graphics
)
public function IsOutlineVisible (
    x : float, 
    y : float, 
    pen : Pen, 
    graphics : Graphics
) : boolean

パラメータ

x

テストする点の x 座標。

y

テストする点の y 座標。

pen

テスト対象の Pen。

graphics

参照可能範囲をテストする Graphics。

戻り値
このメソッドは、指定した Pen で描画したときに、指定した点がこの GraphicsPath アウトラインの中に含まれる場合は true を返します。それ以外の場合は false を返します。

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



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「GraphicsPath.IsOutlineVisible」の関連用語

GraphicsPath.IsOutlineVisibleのお隣キーワード
検索ランキング

   

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



GraphicsPath.IsOutlineVisibleのページの著作権

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

©2026 GRAS Group, Inc.RSS