CropImageData class

The data that handles the transformation of the cropped image.

Constructors

CropImageData({double x = 0, double y = 0, double angle = 0, double scale = 1})
The data that handles the transformation of the cropped image.

Properties

angle double
The rotation of the cropped image
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
The scale of the cropped image
getter/setter pair
x double
Horizontal translation of the cropped image
getter/setter pair
y double
Vertical translation of the cropped image
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Representation of the data as a string.
override

Operators

operator +(CropImageData other) CropImageData
When adding two data objects, the translation is added, the rotation is added and the scale is multiplied.
operator -(CropImageData other) CropImageData
When subtracting two data objects, the translation is subtracted, the rotation is subtracted and the scale is divided.
operator ==(Object other) bool
The equality operator.
inherited