mirror of
https://github.com/photonstorm/phaser
synced 2024-12-21 02:23:29 +00:00
1 line
No EOL
2 KiB
JSON
1 line
No EOL
2 KiB
JSON
{"class":{"name":"PIXI.PolyK","extends":"","static":true,"constructor":false,"parameters":[],"help":"Based on the Polyk library http:\/\/polyk.ivank.net released under MIT licence.\\nThis is an amazing lib!\\nSlightly modified by Mat Groves (matgroves.com);"},"consts":[],"methods":{"public":[{"name":"Triangulate","static":false,"returns":null,"help":"Triangulates shapes for webGL graphic fills.","line":47,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[{"name":"_PointInTriangle","static":false,"returns":{"types":["boolean"],"help":""},"help":"Checks whether a point is within a triangle","line":135,"public":false,"protected":false,"private":true,"parameters":[{"name":"px","type":["number"],"help":"x coordinate of the point to test","optional":false,"default":null},{"name":"py","type":["number"],"help":"y coordinate of the point to test","optional":false,"default":null},{"name":"ax","type":["number"],"help":"x coordinate of the a point of the triangle","optional":false,"default":null},{"name":"ay","type":["number"],"help":"y coordinate of the a point of the triangle","optional":false,"default":null},{"name":"bx","type":["number"],"help":"x coordinate of the b point of the triangle","optional":false,"default":null},{"name":"by","type":["number"],"help":"y coordinate of the b point of the triangle","optional":false,"default":null},{"name":"cx","type":["number"],"help":"x coordinate of the c point of the triangle","optional":false,"default":null},{"name":"cy","type":["number"],"help":"y coordinate of the c point of the triangle","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"_convex","static":false,"returns":{"types":["boolean"],"help":""},"help":"Checks whether a shape is convex","line":165,"public":false,"protected":false,"private":true,"parameters":[],"inherited":false,"inheritedFrom":""}],"static":[]},"properties":{"public":[],"protected":[],"private":[]}} |