convolution method

void convolution({
  1. required List<num> filter,
  2. num div = 1.0,
  3. num offset = 0,
  4. num amount = 1,
  5. Command? mask,
  6. Channel maskChannel = Channel.luminance,
})

Implementation

void convolution(
    {required List<num> filter,
    num div = 1.0,
    num offset = 0,
    num amount = 1,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = ConvolutionCmd(subCommand,
      filter: filter,
      div: div,
      offset: offset,
      amount: amount,
      mask: mask,
      maskChannel: maskChannel);
}