Defines the upper-left corner, width, and height of a rectangle.
C++ Syntax
typedef struct RECTF {
REAL x;
REAL y;
REAL width;
REAL height;
};
FreeBASIC 语法
TYPE RECTF
x AS REAL
y AS REAL
width AS REAL
height AS REAL
END TYPE
成员
left
Specifies the x-coordinate of the upper-left corner of a rectangle.
top
Specifies the y-coordinate of the upper-left corner of a rectangle.
right
Specifies the x-coordinate of the lower-right corner of a rectangle.
bottom
Specifies the y-coordinate of the lower-right corner of a rectangle.