pixi.geom.Rectangle
- type
- class
- metadata
- :native
- "PIXI.Rectangle"
Constructor
- parameters
x
{Float} The X coord of the upper-left corner of the rectangle
y
{Float} The Y coord of the upper-left corner of the rectangle
width
{Float} The overall width of this rectangle
height
{Float} The overall height of this rectangle
Instance Methods
- returns
- {Rectangle} a copy of the rectangle
- parameters
x
{Float} The X coordinate of the point to test
y
{Float} The Y coordinate of the point to test
- returns
- {Bool} Whether the x/y coords are within this Rectangle