# Rect 元素

## 1. 结构

```ts
interface RectClip extends BaseClip {
  type: "rect";
}
```

## 2. 适合用途

- 背景块
- 信息条底板
- lower third 背景
- 遮罩块
- 分隔区域

## 3. 常用参数

最常见配法：
- `transform.width`
- `transform.height`
- `style.fill`
- `style.stroke`
- `style.strokeWidth`
- `style.borderRadius`

## 4. 示例

```json
{
  "type": "rect",
  "start": 0.2,
  "duration": 5,
  "transform": {
    "x": "50%",
    "y": "86%",
    "width": "76%",
    "height": 120
  },
  "style": {
    "fill": "rgba(0, 0, 0, 0.72)",
    "borderRadius": 18
  }
}
```