clearRect abstract method

void clearRect(
  1. num x,
  2. num y,
  3. num width,
  4. num height, {
  5. PStyle? style,
})

Clears a part of the canvas.

  • Applies style if provided.

Implementation

void clearRect(num x, num y, num width, num height, {PStyle? style});