BrightnessContrastOperation class
Operation to adjust the brightness and contrast of an image.
- Inheritance
-
- Object
- ImageOperation
- BrightnessContrastOperation
Constructors
- BrightnessContrastOperation.new({double brightness = 0, double contrast = 1})
- Creates a new BrightnessContrastOperation.
Properties
- brightness → double
-
The brightness adjustment factor
final
- contrast → double
-
The contrast adjustment factor
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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