创建一个 Rect 对象,其 x 坐标、y 坐标、宽度和高度均为零。 这是默认构造函数。
语法
void Rect();
返回值
无
要求
|
|
最低受支持的客户端 |
Windows XP、Windows 2000 Professional [仅限桌面应用] |
最低受支持的服务器 |
Windows 2000 Server [仅限桌面应用] |
目标平台 |
Windows |
标头 |
gdiplustypes.h (包括 Gdiplus.h) |
Library |
Gdiplus.lib |
DLL |
Gdiplus.dll |
另请参阅
笔、线条和矩形
Rect
矩形构造函数
RectF
使用笔绘制线条和矩形