You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @property {string|HTMLElement} [parent=document.body] - the DOM parent element to hold the canvas in the HTML file
35
12
* @property {HTMLCanvasElement} [canvas] - an existing canvas element to use as the renderer target (by default melonJS will create its own canvas based on given parameters)
36
13
* @property {number|Renderer} [renderer=AUTO] - renderer to use (CANVAS, WEBGL, AUTO), or a custom renderer class
@@ -57,12 +34,32 @@ const defaultSettings = {
57
34
* @property {boolean} [transparent=false] - whether to allow transparent pixels in the front buffer (screen).
58
35
* @property {boolean} [antiAlias=false] - whether to enable or not video scaling interpolation
59
36
* @property {boolean} [consoleHeader=true] - whether to display melonJS version and basic device information in the console
60
-
* @param {number} [options.zoomX=width] - The actual width of the canvas with scaling applied
61
-
* @param {number} [options.zoomY=height] - The actual height of the canvas with scaling applied
62
-
* @param {Compositor} [options.compositor] - a custom compositor class (WebGL only)
63
-
* @param {string} [option.physic="builtin"] - the physic system to use (default: "builtin", or "none" to disable builtin physic)
64
-
* @see Application
65
-
* @memberof Application
37
+
* @property {number} [zoomX=width] - The actual width of the canvas with scaling applied
38
+
* @property {number} [zoomY=height] - The actual height of the canvas with scaling applied
39
+
* @property {Compositor} [compositor] - a custom compositor class (WebGL only)
40
+
* @property {string} [physic="builtin"] - the physic system to use (default: "builtin", or "none" to disable builtin physic)
0 commit comments