CanvasElement({int width, int height})

Source

@DomName('HTMLCanvasElement.HTMLCanvasElement')
@DocsEditable()
factory CanvasElement({int width, int height}) {
  CanvasElement e = document.createElement("canvas");
  if (width != null) e.width = width;
  if (height != null) e.height = height;
  return e;
}