Table of Contents

Method FromLeftTopRightBottom

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

FromLeftTopRightBottom(float, float, float, float)

Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations.

public static RectangleF FromLeftTopRightBottom(float left, float top, float right, float bottom)

Parameters

left float

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

top float

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

right float

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

bottom float

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

Returns

RectangleF

The new RectangleF that this method creates.