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

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
public static RectangleF FromLeftTopRightBottom(
	float left,
	float top,
	float right,
	float bottom
)

Parameters

left
Type: SystemSingle
The x-coordinate of the upper-left corner of the rectangular region.
top
Type: SystemSingle
The y-coordinate of the upper-left corner of the rectangular region.
right
Type: SystemSingle
The x-coordinate of the lower-right corner of the rectangular region.
bottom
Type: SystemSingle
The y-coordinate of the lower-right corner of the rectangular region.

Return Value

Type: RectangleF
The new RectangleF that this method creates.
See Also