Method | Description | |
---|---|---|
Contains ( |
Determines whether this instance contains the specified rectangle.
|
|
Contains ( Vector2 vector ) : bool |
Determines whether this instance contains the specified vector.
|
|
Intersect ( |
Intersects the specified rectangle.
|
|
Intersects ( |
Intersectses the specified rectangle.
|
|
Rectangle ( Vector2 a, Vector2 b ) : System |
Initializes a new instance of the Rectangle struct.
|
|
Rectangle ( float x, float y, float width, float height ) : System |
Initializes a new instance of the Rectangle struct.
|
|
ToString ( ) : string |
Converts the Rectangle to a string.
|
|
operator ( ) : |
Implements the operator *.
|
public Contains ( |
||
value | The value. | |
return | bool |
public Contains ( Vector2 vector ) : bool | ||
vector | Vector2 | The vector. |
return | bool |
public Intersect ( |
||
rectangle | The rectangle. | |
return |
public Intersects ( |
||
rectangle | The rectangle. | |
return | bool |
public Rectangle ( Vector2 a, Vector2 b ) : System | ||
a | Vector2 | The first vector. |
b | Vector2 | The second vector. |
return | System |
public Rectangle ( float x, float y, float width, float height ) : System | ||
x | float | The x. |
y | float | The y. |
width | float | The width. |
height | float | The height. |
return | System |