QuadTransformOption class
The quadrilateral video transform option class.
视频四边形变换选项类。
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- QuadTransformOption.new({bool? enable = false, bool? bReset = false, QuadIndex? index = QuadIndex.TopLeft, double? xDeltaAxis = 0.0, double? yDeltaAxis = 0.0, bool? bMirror = false})
- Constructs a QuadTransformOption
Properties
- bMirror ↔ bool?
-
Set Mirror mode for video transform (exchange left and right). Note: Set mirror mode to true when using front facing camera, false when using back facing camera. Reset doesn't reset this, but keeps last value.
getter/setter pair
- bReset ↔ bool?
-
True to reset all quadrilateral transform parameters, false don't reset quadrilateral transform parameters. Default: NO.
getter/setter pair
- enable ↔ bool?
-
Whether to enable quadrilateral transform on video. Default: NO.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ QuadIndex?
-
Vertex index of a quadrilateral. TopLeft: 0, TopRight: 1, BottomLeft: 2, BottomRight: 3
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xDeltaAxis ↔ double?
-
Delta of x axis, The origin (0,0) of the video is the top left, the whole size of video is 1x1, can be negative (top or left is out of view), and can be greater than 1 (bottom or right is out of view).
getter/setter pair
- yDeltaAxis ↔ double?
-
Delta of y axis, The origin (0,0) of the video is the top left, the whole size of video is 1x1, can be negative (top or left is out of view), and can be greater than 1 (bottom or right is out of view).
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited