mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
1 line
5.2 KiB
JSON
1 line
5.2 KiB
JSON
|
{"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":""},{"na
|