Int32Rect(Int32, Int32, Int32, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
Int32Rect(int x, int y, int width, int height);
public Int32Rect (int x, int y, int width, int height);
new System.Windows.Int32Rect : int * int * int * int -> System.Windows.Int32Rect
Public Sub New (x As Integer, y As Integer, width As Integer, height As Integer)
Parameters
- x
- Int32
The X of the new Int32Rect instance which specifies the x-coordinate of the top-left corner of the rectangle.
- y
- Int32
The Y of the new Int32Rect instance which specifies the y-coordinate of the top-left corner of the rectangle.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.