compositeImage method

void compositeImage(
  1. Command? src, {
  2. int? dstX,
  3. int? dstY,
  4. int? dstW,
  5. int? dstH,
  6. int? srcX,
  7. int? srcY,
  8. int? srcW,
  9. int? srcH,
  10. BlendMode blend = BlendMode.alpha,
  11. bool linearBlend = false,
  12. bool center = false,
  13. Command? mask,
  14. Channel maskChannel = Channel.luminance,
})

Implementation

void compositeImage(Command? src,
    {int? dstX,
    int? dstY,
    int? dstW,
    int? dstH,
    int? srcX,
    int? srcY,
    int? srcW,
    int? srcH,
    BlendMode blend = BlendMode.alpha,
    bool linearBlend = false,
    bool center = false,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = CompositeImageCmd(subCommand, src,
      dstX: dstX,
      dstY: dstY,
      dstW: dstW,
      dstH: dstH,
      srcX: srcX,
      srcY: srcY,
      srcW: srcW,
      srcH: srcH,
      blend: blend,
      linearBlend: linearBlend,
      center: center,
      mask: mask,
      maskChannel: maskChannel);
}