mirror of
https://github.com/photonstorm/phaser
synced 2024-12-30 06:53:07 +00:00
1 line
2.2 KiB
JSON
1 line
2.2 KiB
JSON
|
{"class":{"name":"PIXI.Rectangle","extends":"","static":false,"constructor":true,"parameters":[{"name":"x","type":["number"],"help":"The X coordinate of the upper-left corner of the rectangle","optional":false,"default":null},{"name":"y","type":["number"],"help":"The Y coordinate of the upper-left corner of the rectangle","optional":false,"default":null},{"name":"width","type":["number"],"help":"The overall width of this rectangle","optional":false,"default":null},{"name":"height","type":["number"],"help":"The overall height of this rectangle","optional":false,"default":null}],"help":"the Rectangle object is an area defined by its position, as indicated by its top-left corner point (x, y) and by its width and its height."},"consts":[],"methods":{"public":[{"name":"clone","static":false,"returns":{"types":["Phaser.Rectangle"],"help":"a copy of the rectangle"},"help":"Creates a clone of this Rectangle","line":52,"public":true,"protected":false,"private":false,"parameters":[],"inherited":false,"inheritedFrom":""},{"name":"contains","static":false,"returns":{"types":["boolean"],"help":"Whether the x\/y coordinates are within this Rectangle"},"help":"Checks whether the x and y coordinates given are contained within this Rectangle","line":65,"public":true,"protected":false,"private":false,"parameters":[{"name":"x","type":["number"],"help":"The X coordinate of the point to test","optional":false,"default":null},{"name":"y","type":["number"],"help":"The Y coordinate of the point to test","optional":false,"default":null}],"inherited":false,"inheritedFrom":""}],"protected":[],"private":[],"static":[]},"properties":{"public":[{"name":"height","type":["number"],"help":"","inlineHelp":"","line":43,"default":"0","public":true,"protected":false,"private":false,"readOnly":false},{"name":"width","type":["number"],"help":"","inlineHelp":"","line":36,"default":"0","public":true,"protected":false,"private":false,"readOnly":false},{"name":"x","type":["number"],"help":"","inlineHelp":"","line":22,"default":"0","public":true,"protected":false,"private":false,"readOnly":false},{"name":"y","type":["number"],"help":"","inlineHelp":"","line":29,"default":"0","public":true,"protected":false,"private":false,"readOnly":false}],"protected":[],"private":[]}}
|