mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 09:03:29 +00:00
1 line
No EOL
5.2 KiB
JSON
Executable file
1 line
No EOL
5.2 KiB
JSON
Executable file
{"class":{"name":"PIXI.WebGLGraphics","extends":"","static":true,"constructor":false,"parameters":[],"help":"A set of functions used by the webGL renderer to draw the primitive graphics data"},"consts":[],"methods":{"public":[{"name":"reset","static":false,"returns":null,"help":"","line":852,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"upload","static":false,"returns":null,"help":"","line":862,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[{"name":"buildCircle","static":true,"returns":null,"help":"Builds a circle to draw","line":429,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object to draw","optional":false,"default":null},{"name":"webGLData","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"buildComplexPoly","static":true,"returns":null,"help":"Builds a complex polygon to draw","line":724,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object containing all the necessary properties","optional":false,"default":null},{"name":"webGLData","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"buildLine","static":true,"returns":null,"help":"Builds a line to draw","line":512,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object containing all the necessary properties","optional":false,"default":null},{"name":"webGLData","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"buildPoly","static":true,"returns":null,"help":"Builds a polygon to draw","line":786,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object containing all the necessary properties","optional":false,"default":null},{"name":"webGLData","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"buildRectangle","static":true,"returns":null,"help":"Builds a rectangle to draw","line":242,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object containing all the necessary properties","optional":false,"default":null},{"name":"webGLData","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"buildRoundedRectangle","static":true,"returns":null,"help":"Builds a rounded rectangle to draw","line":310,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object containing all the necessary properties","optional":false,"default":null},{"name":"webGLData","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"quadraticBezierCurve","static":true,"returns":{"types":["array number"],"help":""},"help":"Calculate the points for a quadratic bezier curve. (helper function..)\\nBased on: https:\/\/stackoverflow.com\/questions\/785097\/how-do-i-implement-a-bezier-curve-in-c","line":383,"public":false,"protected":false,"private":true,"parameters":[{"name":"fromX","type":["number"],"help":"Origin point x","optional":false,"default":null},{"name":"fromY","type":["number"],"help":"Origin point x","optional":false,"default":null},{"name":"cpX","type":["number"],"help":"Control point x","optional":false,"default":null},{"name":"cpY","type":["number"],"help":"Control point y","optional":false,"default":null},{"name":"toX","type":["number"],"help":"Destination point x","optional":false,"default":null},{"name":"toY","type":["number"],"help":"Destination point y","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"renderGraphics","static":true,"returns":null,"help":"Renders the graphics object","line":25,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphics","type":["PIXI.Graphics"],"help":"","optional":false,"default":null},{"name":"renderSession","type":["object"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"switchMode","static":true,"returns":null,"help":"","line":206,"public":false,"protected":false,"private":true,"parameters":[{"name":"webGL","type":["PIXI.WebGLContext"],"help":"","optional":false,"default":null},{"name":"type","type":["number"],"help":"","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"updateGraphics","static":true,"returns":null,"help":"Updates the graphics object","line":93,"public":false,"protected":false,"private":true,"parameters":[{"name":"graphicsData","type":["PIXI.Graphics"],"help":"The graphics object to update","optional":false,"default":null},{"name":"gl","type":["PIXI.WebGLContext"],"help":"the current WebGL drawing context","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[],"protected":[],"private":[]}} |