OutputRotation enum Null safety
Degrees to rotate the output image for a CameraOutput.
Constructors
- OutputRotation()
-
const
Values
- rotation0 → const OutputRotation
-
Rotate the output 0 degrees counter-clockwise from its natural orientation.
For example, a phone's natural orientation is typically portrait-up.
const OutputRotation(0)
- rotation90 → const OutputRotation
-
Rotate the output 90 degrees counter-clockwise from its natural orientation.
For example, a phone's natural orientation is typically portrait-up.
const OutputRotation(1)
- rotation180 → const OutputRotation
-
Rotate the output 180 degrees counter-clockwise from its natural orientation.
For example, a phone's natural orientation is typically portrait-up.
const OutputRotation(2)
- rotation270 → const OutputRotation
-
Rotate the output 270 degrees counter-clockwise from its natural orientation.
For example, a phone's natural orientation is typically portrait-up.
const OutputRotation(3)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
OutputRotation> -
A constant List of the values in this enum, in order of their declaration.
[rotation0, rotation90, rotation180, rotation270]