Int32Rect(Int32, Int32, Int32, Int32) Constructeur

Définition

Initialise une nouvelle instance d’un Int32Rect avec les coordonnées et X les coordonnées spécifiées Y et spécifiées Width et 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)

Paramètres

x
Int32

Nouvelle XInt32Rect instance qui spécifie la coordonnée x du coin supérieur gauche du rectangle.

y
Int32

Y Nouvelle Int32Rect instance qui spécifie la coordonnée y du coin supérieur gauche du rectangle.

width
Int32

Width Nouvelle Int32Rect instance qui spécifie la largeur du rectangle.

height
Int32

Height Nouvelle Int32Rect instance qui spécifie la hauteur du rectangle.

S’applique à