NERtcVideoWatermarkImageConfig class

视频图片水印配置

Constructors

NERtcVideoWatermarkImageConfig({double? wmAlpha = 1.0, int? wmWidth = 0, int? wmHeight = 0, int? offsetX = 0, int? offsetY = 0, required List<String?> imagePaths, int? fps = 0, bool? loop = true})

Properties

fps int?
播放帧率,默认为 0 表示不自动切换图片,图片单帧静态展示。 帧率最高不超过 30fps,如果设置帧率高于视频流帧率,则按照视频流帧率展示
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imagePaths List<String?>
图片绝对路径,支持多个图片路径
getter/setter pair
loop bool?
是否设置循环,默认为 true,设置为 false 时图像组播放完毕后水印消失
getter/setter pair
offsetX int?
水平左上角与视频图像左上角的水平距离,单位为像素,默认值为 0
getter/setter pair
offsetY int?
水平左上角与视频图像左上角的垂直距离,单位为像素,默认值为 0
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wmAlpha double?
整体水印透明度,取值范围 为 0.0 ~ 1.0,默认值为 1.0,表示不透明
getter/setter pair
wmHeight int?
水印框的高度,单位为像素,默认值为 0,表示按原始图高
getter/setter pair
wmWidth int?
水印框的宽度,单位为像素,默认值为 0,表示按原始图宽
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited