fillFlood method

void fillFlood({
  1. required int x,
  2. required int y,
  3. required Color color,
  4. num threshold = 0.0,
  5. bool compareAlpha = false,
  6. Command? mask,
  7. Channel maskChannel = Channel.luminance,
})

Implementation

void fillFlood(
    {required int x,
    required int y,
    required Color color,
    num threshold = 0.0,
    bool compareAlpha = false,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = FillFloodCmd(subCommand,
      x: x,
      y: y,
      color: color,
      threshold: threshold,
      compareAlpha: compareAlpha,
      mask: mask,
      maskChannel: maskChannel);
}