# VideoLayout (/zh-CN/api-reference/rtc/flutter/class-videolayout)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```dart
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class VideoLayout {
const VideoLayout(
{this.channelId,
this.uid,
this.strUid,
this.x,
this.y,
this.width,
this.height,
this.videoState});
@JsonKey(name: 'channelId')
final String? channelId;
@JsonKey(name: 'uid')
final int? uid;
@JsonKey(name: 'strUid')
final String? strUid;
@JsonKey(name: 'x')
final int? x;
@JsonKey(name: 'y')
final int? y;
@JsonKey(name: 'width')
final int? width;
@JsonKey(name: 'height')
final int? height;
@JsonKey(name: 'videoState')
final int? videoState;
factory VideoLayout.fromJson(Map json) =>
_$VideoLayoutFromJson(json);
Map toJson() => _$VideoLayoutToJson(this);
}
```
## 属性 [#属性]
合图子视频流所属的频道名。
发布该合图子视频流的用户 ID。
预留参数。
合图子视频在合图画布上的 x 坐标 (px)。即合图子视频的左上角相对于合图画布左上角(原点)的横向位移。
合图子视频在合图画布上的 y 坐标 (px)。即合图子视频的左上角相对于合图画布左上角(原点)的纵向位移。
合图子视频流的宽度 (px)。
合图子视频流的高度 (px)
合图子视频流在合图画布上的状态。
- 0:正常。该视频流已被渲染到合图画布。
- 1:占位图。该视频流无视频画面,在合图画布中显示为占位符。
- 2:黑色图片。该视频流被黑色图片替代。