This structure defines the coordinates of the upper-left and lower-right corners of a rectangle.
[C/C++]
typedef struct tag_tagRECT {
LONG left,
LONG top,
LONG right,
LONG bottom
} tagRECT;
[Visual Basic]
Type tagRECT
Dim left As Long
Dim top As Long
Dim right As Long
Dim bottom As Long
End Type
[C#]
public struct tagRECT {
public int left,
public int top,
public int right,
public int bottom
};
Members
- left
- Specifies the x-coordinate of the upper-left corner of the rectangle.
- top
- Specifies the y-coordinate of the upper-left corner of the rectangle.
- right
- Specifies the x-coordinate of the lower-right corner of the rectangle.
- bottom
- Specifies the y-coordinate of the lower-right corner of the rectangle.