NERtcVideoWatermarkTimestampConfig class

Constructors

NERtcVideoWatermarkTimestampConfig.new({required double wmAlpha, required int wmWidth, required int wmHeight, required int offsetX, required int offsetY, required int wmColor, required int fontSize, required int fontColor, required String fontPath})

Properties

fontColor int
字体颜色。ARGB 格式。默认值为 0xFFFFFFFF,即白色
getter/setter pair
fontPath String
字体文件绝对路径
getter/setter pair
fontSize int
字体大小。默认值为 15,单位为像素(px)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
wmColor int
水印框内背景颜色。ARGB 格式,默认值为 0x88888888,即灰色。 支持透明度设置
getter/setter pair
wmHeight int
水印框的高度,单位为像素,默认值为 0,表示按原始图高
getter/setter pair
wmWidth int
水印框的宽度,单位为像素,默认值为 0,表示按原始图宽
getter/setter pair

Methods

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

Operators

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

Static Methods

decode(Object result) NERtcVideoWatermarkTimestampConfig