Int32Rect(Int32, Int32, Int32, Int32) 构造函数

定义

Int32Rect指定的坐标和X指定的Y和指定的WidthHeight

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)

参数

x
Int32

X指定矩形左上角的 x 坐标的新Int32Rect实例。

y
Int32

Y指定矩形左上角的 y 坐标的新Int32Rect实例。

width
Int32

Width指定矩形宽度的新Int32Rect实例。

height
Int32

Height指定矩形高度的新Int32Rect实例。

适用于