Свойство | Тип | Описание | |
---|---|---|---|
Height | float | ||
Width | float | ||
X | float | ||
Y | float |
Метод | Описание | |
---|---|---|
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 | ||
Результат | bool |
public Contains ( float x, float y ) : bool | ||
x | float | |
y | float | |
Результат | bool |
public CopyFromRectangle ( |
||
rectangle | ||
Результат | void |
public Inflate ( float dx, float dy ) : void | ||
dx | float | |
dy | float | |
Результат | void |
public Intersection ( |
||
rectangle | ||
Результат |
public Intersects ( |
||
rectangle | ||
Результат | 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 | |
Результат | System |
public Union ( |
||
rectangle | ||
Результат |