메소드 | 설명 | |
---|---|---|
Rect ( double x, double y, double width, double height ) |
Initializes a Rect structure that has the specified x-coordinate, y-coordinate, width, and height.
|
public Rect ( double x, double y, double width, double height ) | ||
x | double | The x-coordinate of the top-left corner of the rectangle. |
y | double | The y-coordinate of the top-left corner of the rectangle. |
width | double | The width of the rectangle. |
height | double | The height of the rectangle. |