Rectangle

Rectangle class

Rappresenta un rettangolo.

public sealed class Rectangle : Shape

Costruttori

NomeDescrizione
Rectangle(float, float, float, float)Inizializza una nuova istanza diRectangle classe.

Proprietà

NomeDescrizione
Bottom { get; set; }Ottiene o imposta un valore float che indica la posizione inferiore del rettangolo.
GraphInfo { get; set; }Ottiene o imposta aGraphInfo oggetto che indica le informazioni del grafico, come colore, larghezza della linea, ecc.
Height { get; set; }Ottiene o imposta un valore float che indica l’altezza del rettangolo.
Left { get; set; }Ottiene o imposta un valore float che indica la posizione sinistra del rettangolo.
RoundedCornerRadius { get; set; }Ottiene o imposta un valore float che indica il raggio degli angoli del rettangolo.
Text { get; set; }Ottiene o imposta un testo per shape
Width { get; set; }Ottiene o imposta un valore float che indica la larghezza del rettangolo.

Guarda anche