@DomName('CanvasRenderingContext2D.rect') @DocsEditable() void rect(num x, num y, num width, num height) native;