Метод | Описание | |
---|---|---|
FlxRect ( float x, float y, float width, float height ) : System |
Instantiate a new rectangle.
|
|
ToRectangle ( ) : |
Create a new
|
|
copyFrom ( |
Helper function, just copies the values from the specified rectangle.
|
|
copyFromFlash ( object flashRect ) : |
Helper function, just copies the values from the specified Flash rectangle.
|
|
copyTo ( |
Helper function, just copies the values from this rectangle to the specified rectangle.
|
|
copyToFlash ( object flashRect ) : object |
Helper function, just copies the values from this rectangle to the specified Flash rectangle.
|
|
make ( float x, float y, float width, float height ) : |
Instantiate a new rectangle. Protip: Values of the current instance are set, but nothing is created here.
|
|
overlaps ( |
Checks to see if some
|
public FlxRect ( float x, float y, float width, float height ) : System | ||
x | float | The X-coordinate of the rectangle in space. |
y | float | The Y-coordinate of the rectangle in space. |
width | float | Desired width of the rectangle. |
height | float | Desired height of the rectangle. |
Результат | System |
public ToRectangle ( ) : |
||
Результат |
public copyFrom ( |
||
rect | Any FlxRect . |
|
Результат |
public copyFromFlash ( object flashRect ) : |
||
flashRect | object | Any Rectangle . |
Результат |
public copyTo ( |
||
rect | Any FlxRect . |
|
Результат |
public copyToFlash ( object flashRect ) : object | ||
flashRect | object | Any Rectangle . |
Результат | object |
public make ( float x, float y, float width, float height ) : |
||
x | float | The X-coordinate of the rectangle in space. |
y | float | The Y-coordinate of the rectangle in space. |
width | float | Desired width of the rectangle. |
height | float | Desired height of the rectangle. |
Результат |
public overlaps ( |
||
rect | The rectangle being tested. | |
Результат | System.Boolean |