[]
        
(Showing Draft Content)

C1.C1Preview.RectangleD.FromLTRB

FromLTRB Method

FromLTRB(double, double, double, double)

Creates a RectangleD structure based on the coordinates of its top-left and bottom-right corners.

Declaration
public static RectangleD FromLTRB(double left, double top, double right, double bottom)
Parameters
Type Name Description
double left

The X coordinate of the upper-left corner of the rectangular region.

double top

The Y coordinate of the upper-left corner of the rectangular region.

double right

The X coordinate of the lower-right corner of the rectangular region.

double bottom

The Y coordinate of the lower-right corner of the rectangular region.

Returns
Type Description
RectangleD

The newly created RectangleD structure.