ActivityDesignerPaint.GetRoundedRectanglePath(Rectangle, Int32) 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.
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
- 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
Observações
O DrawRoundedRectangle método é usado GetRoundedRectanglePath para obter o caminho a desenhar.