# Rectangle (/zh-CN/api-reference/rtc/android/4.6.0/class-and-enum/classes/class-rectangle)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```java
public static class Rectangle {
public int x = 0;
public int y = 0;
public int width = 0;
public int height = 0;
}
```
### `自从` [#自从]
自 v4.6.0 版本新增。
如果不设置该参数,SDK 默认选择整个屏幕或窗口作为目标区域。
## 属性 [#属性]
### `x` [#x]
距左上角的水平偏移量。
### `y` [#y]
距左上角的垂直偏移量。
### `width` [#width]
目标区域的宽度。
### `height` [#height]
目标区域的高度。