Specifies the dimensions, in logical coordinates, of a rectangle that is used for clipping, opaquing, or both.

The following tables list the members exposed by the RECT type.

Name Description
Public constructor RECT Initializes fields of the RECT structure by the specified values.
Top
Name Description
Public method Static FromXYWH Creates a new RECT structure and initializes its fields by the specified values.
Top
Name Description
Public field bottom Specifies the y-coordinate of the lower-right corner of the rectangle.
Public field left Specifies the x-coordinate of the upper-left corner of the rectangle.
Public field right Specifies the x-coordinate of the lower-right corner of the rectangle.
Public field top Specifies the y-coordinate of the upper-left corner of the rectangle.
Top