GPULevelsFilter class
@Author: gstory @CreateDate: 2022/1/26 3:48 下午 @Email gstory0404@gmail.com @Description: Photoshop-like levels adjustmen 类似Photoshop的级别调整
Constructors
- GPULevelsFilter()
-
Photoshop-like levels adjustment.
The minimum, middle, maximum, minOutput and maxOutput parameters are floats in the range
0, 1
. If you have parameters from Photoshop in the range0, 255
you must first convert them to be0, 1
. The gamma/mid parameter is a float >= 0. This matches the value from Photoshop. If you want to apply levels to RGB as well as individual channels you need to use this filter twice - first for the individual channels and then for all channels.
Properties
-
blueMin
↔ List<
double> -
getter/setter pair
-
greenMin
↔ List<
double> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
redMin
↔ List<
double> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBlueMin(
double min, double mid, double max, double minOut, double maxOut) → void -
setGreenMin(
double min, double mid, double max, double minOut, double maxOut) → void -
setRedMin(
double min, double mid, double max, double minOut, double maxOut) → void -
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited