ActivityDesignerPaint.GetRoundedRectanglePath(Rectangle, Int32) Método

Definição

Devolve o caminho gráfico usado para desenhar o retângulo arredondado especificado.

public:
 static System::Drawing::Drawing2D::GraphicsPath ^ GetRoundedRectanglePath(System::Drawing::Rectangle rectangle, int radius);
public static System.Drawing.Drawing2D.GraphicsPath GetRoundedRectanglePath(System.Drawing.Rectangle rectangle, int radius);
static member GetRoundedRectanglePath : System.Drawing.Rectangle * int -> System.Drawing.Drawing2D.GraphicsPath
Public Shared Function GetRoundedRectanglePath (rectangle As Rectangle, radius As Integer) As GraphicsPath

Parâmetros

rectangle
Rectangle

Para obter Rectangle o caminho gráfico.

radius
Int32

Um inteiro que define o raio a usar para desenhar os cantos arredondados.

Devoluções

A GraphicsPath que desenha o caminho arredondado do retângulo especificado.

Exceções

rectangle está definido como IsEmpty.

-ou-

radius é menor ou igual a 0.

Observações

O DrawRoundedRectangle método é usado GetRoundedRectanglePath para obter o caminho a desenhar.

Aplica-se a