GPUSaturationFilter constructor

GPUSaturationFilter({
  1. double? saturation,
})

saturation: The degree of saturation or desaturation to apply to the image (0.0 - 2.0, with 1.0 as the default)

饱和度(取值范围0.0 - 2.0,默认1.0)

Implementation

GPUSaturationFilter({this.saturation}) {
  type = "saturation";
}