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

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > 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 名前空間



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS