Свойство | Type | Description | |
---|---|---|---|
Height | float | ||
Width | float | ||
X | float | ||
Y | float |
Méthode | Description | |
---|---|---|
Contains ( Point point ) : bool | ||
Contains ( |
||
Contains ( float x, float y ) : bool | ||
Copy ( ) : |
||
CopyFromRectangle ( |
||
Empty ( ) : void | ||
Inflate ( float dx, float dy ) : void | ||
Intersection ( |
Returns the intersecting rectangle
|
|
Intersects ( |
||
IsEmpty ( ) : bool | ||
IsEqual ( |
Determines whether this instance is equal the specified other with a small Epsilon error margin.
|
|
Normalize ( ) : void |
Inverts X or Y if they are negative
|
|
Rectangle ( float x = 0.0f, float y = 0.0f, float width = 0.0f, float height = 0.0f ) : System | ||
Union ( |
Returns a rectangle that encompasses both rectangles
|
public Contains ( |
||
rectangle | ||
Résultat | bool |
public CopyFromRectangle ( |
||
rectangle | ||
Résultat | void |
public Inflate ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Résultat | void |
public Intersection ( |
||
rectangle | ||
Résultat |
public Intersects ( |
||
rectangle | ||
Résultat | bool |
public Rectangle ( float x = 0.0f, float y = 0.0f, float width = 0.0f, float height = 0.0f ) : System | ||
x | float | |
y | float | |
width | float | |
height | float | |
Résultat | System |
public Union ( |
||
rectangle | ||
Résultat |