This adds the floodfill method to the global window context, and the method CanvasRenderingContext2d.prototype.fillFlood for idiomatic context invocation. Like other context fill methods (such as ...
when canvas style background-color attribute set to gray and so on. then, canvas hide under the backgroundcolor. var div = document.createElement("div"); div.id ...