Свойство | Type | Description | |
---|---|---|---|
bottom | int | ||
left | int | ||
right | int | ||
top | int |
Méthode | Description | |
---|---|---|
FromRectangle ( |
Creates a new RECT struct from the specified Rectangle
|
|
FromXYWH ( int x, int y, int width, int height ) : |
Creates a new RECT struct with the specified location and size
|
|
RECT ( int left, int top, int right, int bottom ) : System |
Creates a new RECT struct with the specified location and size
|
|
ToRectangle ( ) : |
Returns a Rectangle with the same location and size as the RECT
|
public static FromRectangle ( |
||
rect | The Rectangle to create the RECT from | |
Résultat |
public static FromXYWH ( int x, int y, int width, int height ) : |
||
x | int | The x-coordinate of the upper-left corner of the RECT |
y | int | The y-coordinate of the upper-left corner of the RECT |
width | int | The width of the RECT |
height | int | The height of the RECT |
Résultat |
public RECT ( int left, int top, int right, int bottom ) : System | ||
left | int | The x-coordinate of the upper-left corner of the RECT |
top | int | The y-coordinate of the upper-left corner of the RECT |
right | int | The x-coordinate of the lower-right corner of the RECT |
bottom | int | The y-coordinate of the lower-right corner of the RECT |
Résultat | System |