copyResize method

void copyResize({
  1. int? width,
  2. int? height,
  3. bool? maintainAspect,
  4. Color? backgroundColor,
  5. Interpolation interpolation = Interpolation.nearest,
})

Implementation

void copyResize(
    {int? width,
    int? height,
    bool? maintainAspect,
    Color? backgroundColor,
    Interpolation interpolation = Interpolation.nearest}) {
  subCommand = CopyResizeCmd(subCommand,
      width: width,
      height: height,
      maintainAspect: maintainAspect,
      backgroundColor: backgroundColor,
      interpolation: interpolation);
}