Rectangle.FromLTRB
Rectangle.FromLTRB method
Creates a Rectangle structure with the specified edge locations.
public static Rectangle FromLTRB(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 System.Drawing
- assembly Aspose.Drawing