1. DomName('CanvasRenderingContext2D.clearRect')
  2. DocsEditable()
void clearRect(num x, num y, num width, num height)

Source

@DomName('CanvasRenderingContext2D.clearRect')
@DocsEditable()
void clearRect(num x, num y, num width, num height) => _blink.BlinkCanvasRenderingContext2D.instance.clearRect_Callback_4_(this, x, y, width, height);