ActivityDesignerPaint.GetRoundedRectanglePath(Rectangle, Int32) 메서드

정의

지정된 둥근 사각형을 그리는 데 사용되는 그래픽 경로를 반환합니다.

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

매개 변수

rectangle
Rectangle

Rectangle 그래픽 경로를 가져올 대상입니다.

radius
Int32

둥근 모서리를 그리는 데 사용할 반경을 정의하는 정수입니다.

반품

GraphicsPath 지정된 사각형의 둥근 경로를 그리는 A입니다.

예외

rectangleIsEmpty로 설정됩니다.

-또는-

radius 가 0보다 작거나 같습니다.

설명

이 메서드는 DrawRoundedRectangle 그릴 경로를 가져오는 데 사용합니다 GetRoundedRectanglePath .

적용 대상