다음을 통해 공유


Rectangle 멤버

사각형의 위치와 크기를 나타내는 네 정수의 집합을 저장합니다. 보다 고급의 영역 기능은 Region 개체를 사용합니다.

다음 표에서는 Rectangle 형식에 의해 노출되는 멤버를 보여 줍니다.

Public 생성자

  이름 설명
Public method Supported by the .NET Compact Framework Rectangle 오버로드되었습니다. 지정된 위치와 크기를 사용하여 Rectangle 클래스의 새 인스턴스를 초기화합니다.

위쪽

Public 필드

  이름 설명
Public field Static Supported by the .NET Compact Framework Empty 초기화되지 않은 속성이 있는 Rectangle 구조체를 나타냅니다.

위쪽

Public 속성

  이름 설명
Public property Supported by the .NET Compact Framework Bottom Rectangle 구조체의 YHeight 속성 값의 합인 Y 좌표를 가져옵니다.
Public property Supported by the .NET Compact Framework Height Rectangle 구조체의 높이를 가져오거나 설정합니다.
Public property Supported by the .NET Compact Framework IsEmpty Rectangle의 숫자 속성이 모두 0 값을 갖는지 여부를 테스트합니다.
Public property Supported by the .NET Compact Framework Left Rectangle 구조체의 왼쪽 가장자리의 x좌표를 가져옵니다.
Public property Supported by the .NET Compact Framework Location Rectangle 구조체의 왼쪽 위 모퉁이의 좌표를 가져오거나 설정합니다.
Public property Supported by the .NET Compact Framework Right Rectangle 구조체의 XWidth 속성 값의 합인 X 좌표를 가져옵니다.
Public property Supported by the .NET Compact Framework Size Rectangle의 크기를 가져오거나 설정합니다.
Public property Supported by the .NET Compact Framework Top Rectangle 구조체의 위쪽 가장자리의 y좌표를 가져옵니다.
Public property Supported by the .NET Compact Framework Width Rectangle 구조체의 너비를 가져오거나 설정합니다.
Public property Supported by the .NET Compact Framework X Rectangle 구조체의 왼쪽 위 모퉁이의 x좌표를 가져오거나 설정합니다.
Public property Supported by the .NET Compact Framework Y Rectangle 구조체의 왼쪽 위 모퉁이의 y좌표를 가져오거나 설정합니다.

위쪽

Public 메서드

( Protected 메서드 참조)

  이름 설명
Public method Static Supported by the .NET Compact Framework Ceiling RectangleF 값을 정수 값으로 반올림하여 지정된 RectangleF 구조체를 Rectangle 구조체로 변환합니다.
Public method Supported by the .NET Compact Framework Contains 오버로드되었습니다. 지정된 점이 이 Rectangle에 의해 정의된 사각형 영역 안에 들어 있는지 여부를 확인합니다.
Public method Supported by the .NET Compact Framework Equals 오버로드되었습니다. 재정의되었습니다. 지정된 개체가 이 Rectangle 개체와 같은지 여부를 확인합니다.
Public method Static Supported by the .NET Compact Framework FromLTRB 지정된 가장자리 위치를 가진 Rectangle 구조체를 만듭니다.
Public method Supported by the .NET Compact Framework GetHashCode 재정의되었습니다. 이 Rectangle 구조체의 해시 코드를 반환합니다. 해시 코드 사용에 대한 자세한 내용은 GetHashCode를 참조하십시오.
Public method Supported by the .NET Compact Framework GetType  현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public method Supported by the .NET Compact Framework Inflate 오버로드되었습니다. 지정된 크기로 Rectangle 구조체를 확장합니다.
Public method Supported by the .NET Compact Framework Intersect 오버로드되었습니다. 두 개의 사각형의 교차 부분을 나타내는 Rectangle 구조체를 확인합니다.
Public method Supported by the .NET Compact Framework IntersectsWith 이 사각형이 rect와 교차되는지 여부를 확인합니다.
Public method Supported by the .NET Compact Framework Offset 오버로드되었습니다. 지정된 크기를 사용하여 이 사각형의 위치를 조정합니다.
Public method Static Supported by the .NET Compact Framework op_Equality Rectangle 구조체가 동일한 위치와 크기를 갖는지 여부를 테스트합니다.
Public method Static Supported by the .NET Compact Framework op_Inequality Rectangle 구조체의 위치와 크기가 다른지 여부를 테스트합니다.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  지정한 Object 인스턴스가 동일한지 여부를 확인합니다. (Object에서 상속됨)
Public method Static Supported by the .NET Compact Framework Round RectangleF 값을 가장 가까운 정수 값으로 반올림하여 지정된 RectangleFRectangle로 변환합니다.
Public method ToString 재정의되었습니다. 이 Rectangle의 특성을 사람이 인식할 수 있는 문자열로 변환합니다.
Public method Static Supported by the .NET Compact Framework Truncate RectangleF 값을 버림으로 계산하여 지정된 RectangleFRectangle로 변환합니다.
Public method Static Supported by the .NET Compact Framework Union 두 개의 Rectangle 구조체의 통합 부분을 포함하는 Rectangle 구조체를 가져옵니다.

위쪽

Protected 메서드

  이름 설명
Protected method Supported by the .NET Compact Framework Finalize  가비지 수집기에서 Object를 회수하기 전에 Object가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Protected method Supported by the .NET Compact Framework MemberwiseClone  현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)

위쪽

참고 항목

참조

Rectangle 구조체
System.Drawing 네임스페이스