GPUMonochromeFilter constructor

GPUMonochromeFilter({
  1. double? intensity,
  2. double? red,
  3. double? green,
  4. double? blue,
  5. double? alpha,
})

intensity: The degree to which the specific color replaces the normal image color (0.0 - 1.0, with 1.0 as the default) color: The color to use as the basis for the effect, with (0.6, 0.45, 0.3, 1.0) as the default.

Implementation

GPUMonochromeFilter(
    {this.intensity, this.red, this.green, this.blue, this.alpha}) {
  type = "monochrome";
}