Upravit

Sdílet prostřednictvím


Int32Rect(Int32, Int32, Int32, Int32) Constructor

Definition

Initializes a new instance of an Int32Rect with the specified X and Y coordinates and the specified Width and Height.

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.

width
Int32

The Width of the new Int32Rect instance which specifies the width of the rectangle.

height
Int32

The Height of the new Int32Rect instance which specifies the height of the rectangle.

Applies to