Rectangle.FromLeftTopRightBottom
Rectangle.FromLeftTopRightBottom method
Creates a Rectangle structure with the specified edge locations.
public static Rectangle FromLeftTopRightBottom(int left, int top, int right, int bottom)
| Parameter | Type | Description |
|---|---|---|
| left | Int32 | The x-coordinate of the upper-left corner of this Rectangle structure. |
| top | Int32 | The y-coordinate of the upper-left corner of this Rectangle structure. |
| right | Int32 | The x-coordinate of the lower-right corner of this Rectangle structure. |
| bottom | Int32 | The y-coordinate of the lower-right corner of this Rectangle structure. |
Return Value
The new Rectangle that this method creates.
See Also
- struct Rectangle
- namespace Aspose.CAD
- assembly Aspose.CAD