[]
        
(Showing Draft Content)

GrapeCity.Drawing.Rect.-ctor

Rect Constructor

Rect(int, int, int, int)

Initializes a new instance of the Rectangle struct with the specified coordinates.

Declaration
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)
Parameters
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.