Initializes a new instance of the
RectangleEx class with the specified location and size.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New( _
ByVal x As System.Integer, _
ByVal y As System.Integer, _
ByVal width As System.Integer, _
ByVal height As System.Integer _
) |
C# | |
---|
public RectangleEx(
System.int x,
System.int y,
System.int width,
System.int height
) |
Parameters
- x
- The x-coordinate of the upper-left corner of the rectangle.
- y
- The y-coordinate of the upper-left corner of the rectangle.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
See Also