跳转至

RECTANGLE

结构体定义

1
2
3
4
5
6
7
typedef struct _rectangle_
{
    unsigned int X1; 
    unsigned int Y1; 
    unsigned int X2; 
    unsigned int Y2; 
} RECTANGLE;
1
2
3
4
5
6
7
8
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct RECTANGLE
{
    public UInt32 X1;
    public UInt32 Y1;
    public UInt32 X2;
    public UInt32 Y2;
}

功能描述

矩形框。

成员说明

成员 类型 备注
X1 unsigned int 左上角X坐标。
Y1 unsigned int 左上角Y坐标。
X2 unsigned int 右下角X坐标。
Y2 unsigned int 右下角Y坐标。
错误码