2
0
Fork 0
mirror of https://github.com/photonstorm/phaser synced 2024-12-26 13:03:36 +00:00
phaser/v2/resources/docgen/output/PIXI.CanvasBuffer.json
2016-11-23 00:17:46 +00:00

1 line
No EOL
2 KiB
JSON
Executable file

{"class":{"name":"PIXI.CanvasBuffer","extends":"","static":false,"constructor":true,"parameters":[{"name":"width","type":["number"],"help":"the width for the newly created canvas","optional":false,"default":null},{"name":"height","type":["number"],"help":"the height for the newly created canvas","optional":false,"default":null}],"help":"Creates a Canvas element of the given size."},"consts":[],"methods":{"public":[{"name":"resize","static":false,"returns":null,"help":"Resizes the canvas to the specified width and height.","line":71,"public":true,"protected":false,"private":false,"parameters":[{"name":"width","type":["number"],"help":"the new width of the canvas","optional":false,"default":null},{"name":"height","type":["number"],"help":"the new height of the canvas","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[{"name":"clear","static":false,"returns":null,"help":"Clears the canvas that was created by the CanvasBuffer class.","line":59,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[{"name":"canvas","type":["HTMLCanvasElement"],"help":"The Canvas object that belongs to this CanvasBuffer.","inlineHelp":"","line":37,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"context","type":["CanvasRenderingContext2D"],"help":"A CanvasRenderingContext2D object representing a two-dimensional rendering context.","inlineHelp":"","line":45,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"height","type":["number"],"help":"The height of the Canvas in pixels.","inlineHelp":"","line":29,"default":null,"public":true,"protected":false,"private":false,"readOnly":false},{"name":"width","type":["number"],"help":"The width of the Canvas in pixels.","inlineHelp":"","line":21,"default":null,"public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}