ActivityDesignerPaint.DrawRoundedRectangle Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Desenha um retângulo arredondado na superfície do designer de atividades.
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)
Parâmetros
- radius
- Int32
O valor inteiro do raio a usar para as arestas arredondadas.
Exceções
graphics ou drawingPen contém uma referência nula (Nothing em Visual Basic).
Observações
DrawRoundedRectangle usa o GetRoundedRectanglePath método para obter o caminho a desenhar.