Jazyk

Int32Rect(Int32, Int32, Int32, Int32) Konstruktor

Definice

Inicializuje novou instanci se Int32Rect zadanými X a Y souřadnicemi a zadanými Width a 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

Nová XInt32Rect instance, která určuje souřadnici x levého horního rohu obdélníku.

y
Int32

Y Nová Int32Rect instance, která určuje souřadnici y levého horního rohu obdélníku.

width
Int32

Width Nová Int32Rect instance, která určuje šířku obdélníku.

height
Int32

Height Nová Int32Rect instance, která určuje výšku obdélníku.

Platí pro