Int32Rect(Int32, Int32, Int32, Int32) Konstruktor

Definicja

Inicjuje nowe wystąpienie obiektu Int32Rect z określonymi X i Y współrzędnymi oraz określonymi Width i 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)

Parametry

x
Int32

Int32Rect Nowe X wystąpienie, które określa współrzędną x lewego górnego rogu prostokąta.

y
Int32

Int32Rect Nowe Y wystąpienie, które określa współrzędną y lewego górnego rogu prostokąta.

width
Int32

Int32Rect Nowe Width wystąpienie, które określa szerokość prostokąta.

height
Int32

Int32Rect Nowe Height wystąpienie, które określa wysokość prostokąta.

Dotyczy