GraphicsPath.IsVisible 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 지점이 이 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
매개 변수
반환
이 메서드는 지정된 지점이 이 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
매개 변수
반환
이 메서드는 지정된 지점이 이 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
매개 변수
반환
이 메서드는 지정된 지점이 이 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
매개 변수
반환
지정된 지점이 이 개체 내에 들어 있으면 이 메서드가 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좌표입니다.
반환
이 메서드는 지정된 지점이 이 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좌표입니다.
반환
이 메서드는 지정된 지점이 이 GraphicsPath 내에 들어 있으면 true
를 반환하고, 그렇지 않으면 false
를 반환합니다.
예제
예제를 보려면 IsVisible(Int32, Int32, Graphics)를 참조하세요.
설명
테스트할 점의 좌표는 월드 좌표로 제공됩니다. 매개 변수의 graphics
변환 매트릭스는 표시 유형을 테스트하기 전에 일시적으로 적용됩니다.
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기