WatermarkOptions class

待添加的水印图片的设置选项。

Annotations

Constructors

WatermarkOptions(Rectangle positionInLandscapeMode, Rectangle positionInPortraitMode, {bool visibleInPreview})
Constructs a WatermarkOptions
WatermarkOptions.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
positionInLandscapeMode Rectangle
视频编码模式为横屏时的水印坐标。 详见 Rectangle
final
positionInPortraitMode Rectangle
视频编码模式为竖屏时的水印坐标。 详见 Rectangle
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
visibleInPreview bool
是否将水印设为预览时本地可见: [...]
@JsonKey(includeIfNull: false), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
inherited

Operators

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