Int32Rect Constructor
Int32Rect(Int32, Int32, Int32, Int32)
Initializes a new instance of the Int32Rect class with the specified location and size.
Declaration
public Int32Rect(int x, int y, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | |
System.Int32 | y | |
System.Int32 | width | |
System.Int32 | height |
Int32Rect(Int32Point, Int32Size)
Initializes a new instance of the Rectangle class with the specified location and size.
Declaration
public Int32Rect(Int32Point location, Int32Size size)
Parameters
Type | Name | Description |
---|---|---|
Int32Point | location | |
Int32Size | size |