Rectangle

  • Unreal C++

更新时间不可用

目标区域相对于整个屏幕或窗口的位置,如不填,则表示整个屏幕或窗口。

C++
struct Rectangle {
    int x;
    int y;
    int width;
    int height;

    Rectangle(): x(0), y(0), width(0), height(0) {}
    Rectangle(int xx, int yy, int ww, int hh): x(xx), y(yy), width(ww), height(hh) {}
};

属性

参数名描述
x

左上角的横向偏移。

y

左上角的纵向偏移。

width

目标区域的宽度。

height

目标区域的高度。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?