GraphicsPath.IsVisible 메서드

정의

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

오버로드

IsVisible(Point)

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

IsVisible(PointF)

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

IsVisible(Point, Graphics)

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

IsVisible(PointF, Graphics)

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

IsVisible(Int32, Int32)

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

IsVisible(Single, Single)

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

IsVisible(Int32, Int32, Graphics)

지정된 GraphicsPath를 사용하여 지정된 지점이 이 Graphics 내에 들어 있는지 여부를 나타냅니다.

IsVisible(Single, Single, Graphics)

지정된 지점이 지정된 GraphicsPath의 가시 클리핑 영역에 있는 이 Graphics 내에 들어 있는지 여부를 나타냅니다.

IsVisible(Point)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(System::Drawing::Point point);
public bool IsVisible (System.Drawing.Point point);
member this.IsVisible : System.Drawing.Point -> bool
Public Function IsVisible (point As Point) As Boolean

매개 변수

point
Point

테스트할 지점을 나타내는 Point입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 GraphicsPath.IsVisible Method (Int32, Int32, Graphics)를 참조하세요.

적용 대상

IsVisible(PointF)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(System::Drawing::PointF point);
public bool IsVisible (System.Drawing.PointF point);
member this.IsVisible : System.Drawing.PointF -> bool
Public Function IsVisible (point As PointF) As Boolean

매개 변수

point
PointF

테스트할 지점을 나타내는 PointF입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 IsVisible(Int32, Int32, Graphics)를 참조하세요.

적용 대상

IsVisible(Point, Graphics)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(System::Drawing::Point pt, System::Drawing::Graphics ^ graphics);
public bool IsVisible (System.Drawing.Point pt, System.Drawing.Graphics graphics);
public bool IsVisible (System.Drawing.Point pt, System.Drawing.Graphics? graphics);
member this.IsVisible : System.Drawing.Point * System.Drawing.Graphics -> bool
Public Function IsVisible (pt As Point, graphics As Graphics) As Boolean

매개 변수

pt
Point

테스트할 지점을 나타내는 Point입니다.

graphics
Graphics

가시성을 테스트할 Graphics입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 GraphicsPath.IsVisible Method (Int32, Int32, Graphics)를 참조하세요.

설명

테스트할 점의 좌표는 월드 좌표로 제공됩니다. 매개 변수의 graphics 변환 매트릭스는 표시 유형을 테스트하기 전에 일시적으로 적용됩니다.

적용 대상

IsVisible(PointF, Graphics)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(System::Drawing::PointF pt, System::Drawing::Graphics ^ graphics);
public bool IsVisible (System.Drawing.PointF pt, System.Drawing.Graphics graphics);
public bool IsVisible (System.Drawing.PointF pt, System.Drawing.Graphics? graphics);
member this.IsVisible : System.Drawing.PointF * System.Drawing.Graphics -> bool
Public Function IsVisible (pt As PointF, graphics As Graphics) As Boolean

매개 변수

pt
PointF

테스트할 지점을 나타내는 PointF입니다.

graphics
Graphics

가시성을 테스트할 Graphics입니다.

반환

지정된 지점이 이 개체 내에 들어 있으면 이 메서드가 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 IsVisible(Int32, Int32, Graphics)를 참조하세요.

설명

테스트할 점의 좌표는 월드 좌표로 제공됩니다. 매개 변수의 graphics 변환 매트릭스는 표시 유형을 테스트하기 전에 일시적으로 적용됩니다.

적용 대상

IsVisible(Int32, Int32)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(int x, int y);
public bool IsVisible (int x, int y);
member this.IsVisible : int * int -> bool
Public Function IsVisible (x As Integer, y As Integer) As Boolean

매개 변수

x
Int32

테스트할 점의 x좌표입니다.

y
Int32

테스트할 점의 y좌표입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 IsVisible(Int32, Int32, Graphics)를 참조하세요.

적용 대상

IsVisible(Single, Single)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 이 GraphicsPath 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(float x, float y);
public bool IsVisible (float x, float y);
member this.IsVisible : single * single -> bool
Public Function IsVisible (x As Single, y As Single) As Boolean

매개 변수

x
Single

테스트할 점의 x좌표입니다.

y
Single

테스트할 점의 y좌표입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 IsVisible(Int32, Int32, Graphics)를 참조하세요.

적용 대상

IsVisible(Int32, Int32, Graphics)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 GraphicsPath를 사용하여 지정된 지점이 이 Graphics 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(int x, int y, System::Drawing::Graphics ^ graphics);
public bool IsVisible (int x, int y, System.Drawing.Graphics graphics);
public bool IsVisible (int x, int y, System.Drawing.Graphics? graphics);
member this.IsVisible : int * int * System.Drawing.Graphics -> bool
Public Function IsVisible (x As Integer, y As Integer, graphics As Graphics) As Boolean

매개 변수

x
Int32

테스트할 점의 x좌표입니다.

y
Int32

테스트할 점의 y좌표입니다.

graphics
Graphics

가시성을 테스트할 Graphics입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

다음 코드 예제는 Windows Forms 사용하도록 설계되었으며 이벤트 개체인 이 OnPaint 필요합니다PaintEventArgse. 코드는 다음 작업을 수행합니다.

  • 경로를 만들고 경로에 타원을 추가합니다.

  • 지정된 지점이 경로 내에 포함되어 있는지 여부를 테스트합니다.

  • 대화 상자에 결과를 표시합니다.

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).
    bool visible = myPath.IsVisible(50, 50, e.Graphics);
             
    // Show the result.
    MessageBox.Show(visible.ToString());
}
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

설명

테스트할 점의 좌표는 월드 좌표로 제공됩니다. 의 graphics 변환 매트릭스는 표시 유형을 테스트하기 전에 일시적으로 적용됩니다.

적용 대상

IsVisible(Single, Single, Graphics)

Source:
GraphicsPath.cs
Source:
GraphicsPath.cs
Source:
GraphicsPath.cs

지정된 지점이 지정된 GraphicsPath의 가시 클리핑 영역에 있는 이 Graphics 내에 들어 있는지 여부를 나타냅니다.

public:
 bool IsVisible(float x, float y, System::Drawing::Graphics ^ graphics);
public bool IsVisible (float x, float y, System.Drawing.Graphics graphics);
public bool IsVisible (float x, float y, System.Drawing.Graphics? graphics);
member this.IsVisible : single * single * System.Drawing.Graphics -> bool
Public Function IsVisible (x As Single, y As Single, graphics As Graphics) As Boolean

매개 변수

x
Single

테스트할 점의 x좌표입니다.

y
Single

테스트할 점의 y좌표입니다.

graphics
Graphics

가시성을 테스트할 Graphics입니다.

반환

이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.

예제

예제를 보려면 IsVisible(Int32, Int32, Graphics)를 참조하세요.

설명

테스트할 점의 좌표는 월드 좌표로 제공됩니다. 매개 변수의 graphics 변환 매트릭스는 표시 유형을 테스트하기 전에 일시적으로 적용됩니다.

적용 대상