WatermarkOptions class Null safety

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

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

WatermarkOptions({bool? visibleInPreview, Rectangle? positionInLandscapeMode, Rectangle? positionInPortraitMode})
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
@JsonKey(includeIfNull: false), read / write
positionInPortraitMode Rectangle?
视频编码模式为竖屏时的水印坐标。 详见 Rectangle
@JsonKey(includeIfNull: false), read / write
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
A string representation of this object. [...]
inherited

Operators

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