RECT Data Type

The information necessary to specify a rectangle relative to a window, the entire screen, or some other coordinate space. 4Test defines this record data type as follows:

[-] type RECT is record
	[ ] INTEGER xPos
	[ ] INTEGER yPos
	[ ] INTEGER xSize
	[ ] INTEGER ySize

The following table explains the fields.

Field Description
xPos The x-coordinate of the top-left corner. INTEGER.
yPos The y-coordinate of the top-left corner. INTEGER.
xSize The width (in pixels) of the capture region. INTEGER.
ySize The height (in pixels) of the capture region. INTEGER.