RectangleF.Contains 메서드

정의

지정된 점이 이 RectangleF 구조체에 들어 있는지 여부를 확인합니다.

오버로드

Contains(PointF)

지정된 점이 이 RectangleF 구조체에 들어 있는지 여부를 확인합니다.

Contains(RectangleF)

rect에 의해 표시된 사각형 영역이 이 RectangleF 구조체에 완전히 들어 있는지 여부를 확인합니다.

Contains(Single, Single)

지정된 점이 이 RectangleF 구조체에 들어 있는지 여부를 확인합니다.

Contains(PointF)

Source:
RectangleF.cs
Source:
RectangleF.cs
Source:
RectangleF.cs

지정된 점이 이 RectangleF 구조체에 들어 있는지 여부를 확인합니다.

public:
 bool Contains(System::Drawing::PointF pt);
public readonly bool Contains (System.Drawing.PointF pt);
public bool Contains (System.Drawing.PointF pt);
member this.Contains : System.Drawing.PointF -> bool
Public Function Contains (pt As PointF) As Boolean

매개 변수

pt
PointF

테스트할 PointF입니다.

반환

pt 매개 변수에 의해 표시된 지점이 이 RectangleF 구조체 안에 들어 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상

Contains(RectangleF)

Source:
RectangleF.cs
Source:
RectangleF.cs
Source:
RectangleF.cs

rect에 의해 표시된 사각형 영역이 이 RectangleF 구조체에 완전히 들어 있는지 여부를 확인합니다.

public:
 bool Contains(System::Drawing::RectangleF rect);
public readonly bool Contains (System.Drawing.RectangleF rect);
public bool Contains (System.Drawing.RectangleF rect);
member this.Contains : System.Drawing.RectangleF -> bool
Public Function Contains (rect As RectangleF) As Boolean

매개 변수

rect
RectangleF

테스트할 RectangleF입니다.

반환

rect에 의해 표시된 사각형 영역이 이 RectangleF 구조체에 의해 표시된 사각형 영역 안에 완전히 들어 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상

Contains(Single, Single)

Source:
RectangleF.cs
Source:
RectangleF.cs
Source:
RectangleF.cs

지정된 점이 이 RectangleF 구조체에 들어 있는지 여부를 확인합니다.

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

매개 변수

x
Single

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

y
Single

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

반환

xy에 의해 정의된 지점이 이 RectangleF 구조체 안에 들어 있으면 true이고, 그러지 않으면 false입니다.

적용 대상