Adjustments class
Color adjustments, each from -1 to 1 (0: unchanged). Color-only, so they bake into a LUT with the look (combinedLut) and need nothing more from the exporters.
- Annotations
Constructors
- Adjustments({double brightness = 0, double contrast = 0, double saturation = 0, double warmth = 0})
-
const
Properties
- brightness → double
-
final
- contrast → double
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isNeutral → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saturation → double
-
final
- warmth → double
-
final
Methods
-
apply(
double r, double g, double b) → (double, double, double) - Applies the adjustments to a color in 0..1 (sRGB-encoded).
-
copyWith(
{double? brightness, double? contrast, double? saturation, double? warmth}) → Adjustments -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override