Creates a little colored canvas
Name | Type | Attribute | Description |
---|---|---|---|
color | The color to make the canvas |
{ "comment": "/**\n * Creates a little colored canvas\n *\n * @ignore\n * @param {string} color - The color to make the canvas\n * @return {canvas} a small canvas element\n */", "meta": { "range": [ 156, 426 ], "filename": "canUseNewCanvasBlendModes.js", "lineno": 8, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\renderers\\canvas\\utils", "code": { "id": "astnode100021329", "name": "createColoredCanvas", "type": "FunctionDeclaration", "paramnames": [ "color" ] }, "vars": { "canvas": "createColoredCanvas~canvas", "canvas.width": "createColoredCanvas~canvas.width", "canvas.height": "createColoredCanvas~canvas.height", "context": "createColoredCanvas~context", "context.fillStyle": "createColoredCanvas~context.fillStyle" } }, "description": "Creates a little colored canvas
", "ignore": true, "params": [ { "type": { "names": [ "string" ] }, "description": "The color to make the canvas
", "name": "color" } ], "returns": [ { "type": { "names": [ "canvas" ] }, "description": "a small canvas element
" } ], "name": "createColoredCanvas", "longname": "createColoredCanvas", "kind": "function", "scope": "global", "___id": "T000002R002014", "___s": true, "filepath": "core\\renderers\\canvas\\utils\\canUseNewCanvasBlendModes.js" }