CropRotateEditorResponse class
The CropRotateEditorResponse
class represents the response data from a crop and rotate editor operation.
Constructors
- CropRotateEditorResponse({required Uint8List? bytes, required bool isHalfPi, required Rect cropRect, required bool flipY, required bool flipX, required double posX, required double posY, required double scale, required double rotationRadian, required double rotationAngle})
-
Creates a new
CropRotateEditorResponse
with the provided data.
Properties
- bytes → Uint8List?
-
The edited image data as a
Uint8List
.final - cropRect → Rect
-
The cropping rectangle applied to the image.
final
- flipX → bool
-
Indicates whether the image is flipped horizontally.
final
- flipY → bool
-
Indicates whether the image is flipped vertically.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isHalfPi → bool
-
Indicates whether the rotation angle is a multiple of pi/2 (90 degrees).
final
- posX → double
-
The X-coordinate position of the image.
final
- posY → double
-
The Y-coordinate position of the image.
final
- rotationAngle → double
-
The rotation angle in degrees applied to the image.
final
- rotationRadian → double
-
The rotation in radians applied to the image.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
The scaling factor applied to the image.
final
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