# Rectangle (/zh-CN/api-reference/rtc/unreal-cpp/class-rectangle) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```cpp 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) {} }; ``` ## 属性 [#属性] 左上角的横向偏移。 左上角的纵向偏移。 目标区域的宽度。 目标区域的高度。