fillRect method

void fillRect({
  1. required int x1,
  2. required int y1,
  3. required int x2,
  4. required int y2,
  5. required Color color,
  6. num radius = 0,
  7. Command? mask,
  8. Channel maskChannel = Channel.luminance,
})

Implementation

void fillRect(
    {required int x1,
    required int y1,
    required int x2,
    required int y2,
    required Color color,
    num radius = 0,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = FillRectCmd(subCommand,
      x1: x1,
      y1: y1,
      x2: x2,
      y2: y2,
      color: color,
      radius: radius,
      mask: mask,
      maskChannel: maskChannel);
}