Rectangle.Rectangle
Contents
[
Hide
]Rectangle(int, int, int, int)
Initializes a new instance of the Rectangle
structure with the specified location and size.
public Rectangle(int x, int y, int width, int height)
Parameter | Type | Description |
---|---|---|
x | Int32 | The x-coordinate of the upper-left corner of the rectangle. |
y | Int32 | The y-coordinate of the upper-left corner of the rectangle. |
width | Int32 | The width of the rectangle. |
height | Int32 | The height of the rectangle. |
See Also
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Rectangle(Point, Size)
Initializes a new instance of the Rectangle
structure with the specified location and size.
public Rectangle(Point location, Size size)
Parameter | Type | Description |
---|---|---|
location | Point | A Point that represents the upper-left corner of the rectangular region. |
size | Size | A Size that represents the width and height of the rectangular region. |
See Also
- struct Point
- struct Size
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging