ActivityDesignerPaint.DrawRoundedRectangle Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Disegna un rettangolo arrotondato nell'area activitydesigner.
public:
static void DrawRoundedRectangle(System::Drawing::Graphics ^ graphics, System::Drawing::Pen ^ drawingPen, System::Drawing::Rectangle rectangle, int radius);
public static void DrawRoundedRectangle(System.Drawing.Graphics graphics, System.Drawing.Pen drawingPen, System.Drawing.Rectangle rectangle, int radius);
static member DrawRoundedRectangle : System.Drawing.Graphics * System.Drawing.Pen * System.Drawing.Rectangle * int -> unit
Public Shared Sub DrawRoundedRectangle (graphics As Graphics, drawingPen As Pen, rectangle As Rectangle, radius As Integer)
Parametri
- radius
- Int32
Valore intero del raggio da utilizzare per i bordi arrotondati.
Eccezioni
graphics o drawingPen contiene un riferimento Null (Nothing in Visual Basic).
Commenti
DrawRoundedRectangle utilizza il GetRoundedRectanglePath metodo per ottenere il percorso da disegnare.