| Unit: | SDL_sdlbase |
| Class: |
none |
| Declaration: |
TRectDouble = record
case Integer of
0: (Left, Top, Right, Bottom: double);
1: (TopLeft, BottomRight: TPointDouble);
end;
|
The type declaration TRectDouble represents the dimensions of a rectangle in floating point coordinates (in contrast to the Delphi TRect which defines integer coordinates). The coordinates are specified as either four separate numbers representing the left, top, right, and bottom sides, or as two points representing the locations of the top left and bottom right corners.
|