HTML and CSS Reference
In-Depth Information
Resetting the Canvas Width and Height
When the Canvas width or height (or both) are reset, the current contents of the Canvas are
removed:
var
var w = theCanvas . width ;
var
var h = theCanvas . height ;
theCanvas . width = w ;
theCanvas . height = h ;
Search WWH ::




Custom Search