stretchDistortion method

void stretchDistortion({
  1. int? centerX,
  2. int? centerY,
  3. Interpolation interpolation = Interpolation.nearest,
  4. Command? mask,
  5. Channel maskChannel = Channel.luminance,
})

Implementation

void stretchDistortion(
    {int? centerX,
    int? centerY,
    Interpolation interpolation = Interpolation.nearest,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = StretchDistortionCmd(subCommand,
      centerX: centerX,
      centerY: centerY,
      interpolation: interpolation,
      mask: mask,
      maskChannel: maskChannel);
}