CropOperation class
Operation to crop an image.
- Inheritance
-
- Object
- ImageOperation
- CropOperation
Constructors
- CropOperation.new({required int x, required int y, required int width, required int height})
- Creates a new CropOperation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
The height of the crop region
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
The width of the crop region
final
- x → int
-
The x-coordinate of the top-left corner
final
- y → int
-
The y-coordinate of the top-left corner
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPythonCode(
) → String -
Converts the operation to Python code.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited