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) native;