NERtcVideoWatermarkTimestampConfig class

时间戳水印配置

Constructors

NERtcVideoWatermarkTimestampConfig({double? wmAlpha = 1.0, int? wmWidth = 0, int? wmHeight = 0, int? offsetX = 0, int? offsetY = 0, String? fontNameOrPath = '', int? fontColor = 0xFFFFFFFF, int? fontSize = 15, int? wmColor = 0x88888888})

Properties

fontColor int?
字体颜色。ARGB 格式。默认值为 0xFFFFFFFF,即白色
getter/setter pair
fontNameOrPath 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

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