[]
Initializes a new instance of the Rectangle struct with the specified coordinates.
public Rect(int left, int top, int right, int bottom)
Public Sub New(left As Integer, top As Integer, right As Integer, bottom As Integer)
Type | Name | Description |
---|---|---|
int | left | The x-coordinate of the upper-left corner of the rectangle. |
int | top | The y-coordinate of the upper-left corner of the rectangle. |
int | right | The x-coordinate of the lower-right corner of the rectangle. |
int | bottom | The y-coordinate of the lower-right corner of the rectangle. |