public object createElement(string tagName) { if (tagName == "canvas") { if (this.canvas == null) { this.canvas = new HTMLCanvasElement(this.ownerDocument.defaultView); } return this.canvas; } throw new NotSupportedException(); }
public object createElement(string tagName) { if (tagName == "canvas") { if (this.canvas == null) { this.canvas = new HTMLCanvasElement(this.ownerDocument.defaultView); } return(this.canvas); } throw new NotSupportedException(); }
internal HTMLCanvasElementWrapper(HTMLCanvasElement canvas) { this.canvas = canvas; }