2.2.1.2.2 Rectangle (TS_RECTANGLE_16)

The TS_RECTANGLE_16 structure describes a rectangle by using its top-left and bottom-right coordinates. The units depend on the context in which this structure is used.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Left

Top

Right

Bottom

Left (2 bytes): An unsigned 16-bit integer. The x-coordinate of the rectangle's top-left corner.

Top (2 bytes): An unsigned 16-bit integer. The y-coordinate of the rectangle's top-left corner.

Right (2 bytes): An unsigned 16-bit integer. The x-coordinate of the rectangle's bottom-right corner.

Bottom (2 bytes): An unsigned 16-bit integer. The y-coordinate of the rectangle's bottom-right corner.