mirror of
https://github.com/photonstorm/phaser
synced 2024-12-30 15:03:16 +00:00
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
|
{"class":{"name":"PIXI.Point","extends":"","static":false,"constructor":true,"parameters":[{"name":"x","type":["number"],"help":"position of the point on the x axis","optional":false,"default":null},{"name":"y","type":["number"],"help":"position of the point on the y axis","optional":false,"default":null}],"help":"The Point object represents a location in a two-dimensional coordinate system, where x represents the horizontal axis and y represents the vertical axis."},"consts":[],"methods":{"public":[{"name":"clone","static":false,"returns":{"types":["Phaser.Point"],"help":"a copy of the point"},"help":"Creates a clone of this point","line":36,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"set","static":false,"returns":null,"help":"Sets the point to a new x and y position.\\nIf y is omitted, both x and y will be set to x.","line":49,"public":true,"protected":false,"private":false,"parameters":[{"name":"[x=0]","type":["number"],"help":"position of the point on the x axis","optional":false,"default":null},{"name":"[y=0]","type":["number"],"help":"position of the point on the y axis","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[],"static":[]},"properties":{"public":[{"name":"x","type":["number"],"help":"","inlineHelp":"","line":20,"default":"0","public":true,"protected":false,"private":false,"readOnly":false},{"name":"y","type":["number"],"help":"","inlineHelp":"","line":27,"default":"0","public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|