Dibaca dalam bahasa Inggeris Edit

Kongsi melalui


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.

C#
public Int32Rect(int x, int y, int width, int height);

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

Produk Versi
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10