drawPixel method

void drawPixel(
  1. int x,
  2. int y,
  3. Color color, {
  4. BlendMode blend = BlendMode.alpha,
  5. bool linearBlend = false,
  6. Command? mask,
  7. Channel maskChannel = Channel.luminance,
})

Implementation

void drawPixel(int x, int y, Color color,
    {BlendMode blend = BlendMode.alpha,
    bool linearBlend = false,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = DrawPixelCmd(subCommand, x, y, color,
      blend: blend,
      linearBlend: linearBlend,
      mask: mask,
      maskChannel: maskChannel);
}