GraphicsPath.IsVisible Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
Przeciążenia
| Nazwa | Opis |
|---|---|
| IsVisible(Point) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie . |
| IsVisible(PointF) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie . |
| IsVisible(Point, Graphics) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie . |
| IsVisible(PointF, Graphics) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie . |
| IsVisible(Int32, Int32) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie . |
| IsVisible(Single, Single) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie . |
| IsVisible(Int32, Int32, Graphics) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie przy użyciu określonego Graphicselementu . |
| IsVisible(Single, Single, Graphics) |
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPath miejscu w widocznym regionie klipu określonego Graphicselementu . |
IsVisible(Point)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
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
Parametry
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz GraphicsPath.IsVisible Method (Int32, Int32, Graphics).
Dotyczy
IsVisible(PointF)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
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
Parametry
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz IsVisible(Int32, Int32, Graphics).
Dotyczy
IsVisible(Point, Graphics)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
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
Parametry
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz GraphicsPath.IsVisible Method (Int32, Int32, Graphics).
Uwagi
Współrzędne punktu do przetestowania są podane we współrzędnych świata. Macierz przekształcania parametru graphics jest tymczasowo stosowana przed przetestowaniem pod kątem widoczności.
Dotyczy
IsVisible(PointF, Graphics)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
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
Parametry
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz IsVisible(Int32, Int32, Graphics).
Uwagi
Współrzędne punktu do przetestowania są podane we współrzędnych świata. Macierz przekształcania parametru graphics jest tymczasowo stosowana przed przetestowaniem pod kątem widoczności.
Dotyczy
IsVisible(Int32, Int32)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
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
Parametry
- x
- Int32
Współrzędna x punktu do przetestowania.
- y
- Int32
Współrzędna y punktu do przetestowania.
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz IsVisible(Int32, Int32, Graphics).
Dotyczy
IsVisible(Single, Single)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie .
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
Parametry
- x
- Single
Współrzędna x punktu do przetestowania.
- y
- Single
Współrzędna y punktu do przetestowania.
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz IsVisible(Int32, Int32, Graphics).
Dotyczy
IsVisible(Int32, Int32, Graphics)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPathobiekcie przy użyciu określonego Graphicselementu .
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
Parametry
- x
- Int32
Współrzędna x punktu do przetestowania.
- y
- Int32
Współrzędna y punktu do przetestowania.
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Poniższy przykład kodu jest przeznaczony do użycia z Windows Forms i wymaga PaintEventArgse, obiektu zdarzenia OnPaint. Kod wykonuje następujące akcje:
Tworzy ścieżkę i dodaje wielokropek do ścieżki.
Sprawdza, czy określony punkt znajduje się w ścieżce.
Wyświetla wynik w oknie dialogowym.
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
Uwagi
Współrzędne punktu do przetestowania są podane we współrzędnych świata. Macierz przekształcania graphics elementu jest tymczasowo stosowana przed przetestowaniem pod kątem widoczności.
Dotyczy
IsVisible(Single, Single, Graphics)
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
- Źródło:
- GraphicsPath.cs
Wskazuje, czy określony punkt jest zawarty w tym GraphicsPath miejscu w widocznym regionie klipu określonego Graphicselementu .
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
Parametry
- x
- Single
Współrzędna x punktu do przetestowania.
- y
- Single
Współrzędna y punktu do przetestowania.
Zwraca
Ta metoda zwraca true , jeśli określony punkt jest zawarty w tym GraphicsPath; w przeciwnym razie false.
Przykłady
Aby zapoznać się z przykładem, zobacz IsVisible(Int32, Int32, Graphics).
Uwagi
Współrzędne punktu do przetestowania są podane we współrzędnych świata. Macierz przekształcania parametru graphics jest tymczasowo stosowana przed przetestowaniem pod kątem widoczności.