RectangleGeometry Costruttori

Definizione

Inizializza una nuova istanza della classe RectangleGeometry.Initializes a new instance of the RectangleGeometry class.

Overload

RectangleGeometry()

Inizializza una nuova istanza della classe RectangleGeometry e crea un rettangolo con un'area pari a zero.Initializes a new instance of the RectangleGeometry class, and creates a rectangle with zero area.

RectangleGeometry(Rect)

Inizializza una nuova istanza della classe RectangleGeometry e specifica le relative dimensioni.Initializes a new instance of the RectangleGeometry class and specifies its dimensions.

RectangleGeometry(Rect, Double, Double)

Inizializza una nuova istanza della classe RectangleGeometry.Initializes a new instance of the RectangleGeometry class.

RectangleGeometry(Rect, Double, Double, Transform)

Inizializza una nuova istanza della classe RectangleGeometry.Initializes a new instance of the RectangleGeometry class.

RectangleGeometry()

Inizializza una nuova istanza della classe RectangleGeometry e crea un rettangolo con un'area pari a zero.Initializes a new instance of the RectangleGeometry class, and creates a rectangle with zero area.

public:
 RectangleGeometry();
public RectangleGeometry ();
Public Sub New ()

RectangleGeometry(Rect)

Inizializza una nuova istanza della classe RectangleGeometry e specifica le relative dimensioni.Initializes a new instance of the RectangleGeometry class and specifies its dimensions.

public:
 RectangleGeometry(System::Windows::Rect rect);
public RectangleGeometry (System.Windows.Rect rect);
new System.Windows.Media.RectangleGeometry : System.Windows.Rect -> System.Windows.Media.RectangleGeometry
Public Sub New (rect As Rect)

Parametri

rect
Rect

Una struttura Rect con le dimensioni del rettangolo.A Rect structure with the rectangle's dimensions.

RectangleGeometry(Rect, Double, Double)

Inizializza una nuova istanza della classe RectangleGeometry.Initializes a new instance of the RectangleGeometry class.

public:
 RectangleGeometry(System::Windows::Rect rect, double radiusX, double radiusY);
public RectangleGeometry (System.Windows.Rect rect, double radiusX, double radiusY);
new System.Windows.Media.RectangleGeometry : System.Windows.Rect * double * double -> System.Windows.Media.RectangleGeometry
Public Sub New (rect As Rect, radiusX As Double, radiusY As Double)

Parametri

rect
Rect

Una struttura Rect con le dimensioni del rettangolo.A Rect structure with the rectangle's dimensions.

radiusX
Double

Raggio dell'angolo arrotondato dove si collega con i bordi superiore e inferiore del rettangolo.The radius of the rounded corner where it connects with the upper and lower edges of the rectangle.

radiusY
Double

Raggio dell'angolo arrotondato dove si collega con i bordi sinistro e destro del rettangolo.The radius of the rounded corner where it connects with the left and right edges of the rectangle.

RectangleGeometry(Rect, Double, Double, Transform)

Inizializza una nuova istanza della classe RectangleGeometry.Initializes a new instance of the RectangleGeometry class.

public:
 RectangleGeometry(System::Windows::Rect rect, double radiusX, double radiusY, System::Windows::Media::Transform ^ transform);
public RectangleGeometry (System.Windows.Rect rect, double radiusX, double radiusY, System.Windows.Media.Transform transform);
new System.Windows.Media.RectangleGeometry : System.Windows.Rect * double * double * System.Windows.Media.Transform -> System.Windows.Media.RectangleGeometry
Public Sub New (rect As Rect, radiusX As Double, radiusY As Double, transform As Transform)

Parametri

rect
Rect

Una struttura Rect con le dimensioni del rettangolo.A Rect structure with the rectangle's dimensions.

radiusX
Double

Raggio dell'angolo arrotondato dove si collega con i bordi superiore e inferiore del rettangolo.The radius of the rounded corner where it connects with the upper and lower edges of the rectangle.

radiusY
Double

Raggio dell'angolo arrotondato dove si collega con i bordi sinistro e destro del rettangolo.The radius of the rounded corner where it connects with the left and right edges of the rectangle.

transform
Transform

Trasformazione da applicare alla geometria.The transformation to apply to the geometry.

Si applica a