Watermark class Null safety

水印图片相对视频流的位置和大小

Constructors

Watermark({required double x, required double y, required double width, required double height})

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
height ↔ double
水印图片高度与视频流高度的比值,取值范围为 [0,1)
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
width ↔ double
水印图片宽度与视频流宽度的比值,取值范围 [0,1)
read / write
x ↔ double
水印图片相对视频流左上角的横向偏移与视频流宽度的比值,取值范围为 [0,1)
read / write
y ↔ double
水印图片相对视频流左上角的纵向偏移与视频流高度的比值,取值范围为 [0,1)
read / write

Methods

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

Operators

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

Static Methods

defaultMap() → Map<String, dynamic>