CompositeCurve.CreateRoundedRectangle (Plane, Double, Double, Double, Boolean) Method
Creates a rounded rectangular composite curve by plane.
Public Shared Function CreateRoundedRectangle( _
ByVal sketchPlane As Plane, _
ByVal width As Double, _
ByVal height As Double, _
ByVal radius As Double, _
Optional ByVal centered As Boolean = false _
) As CompositeCurve
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
sketchPlane
-
Plane
Sketch plane
-
width
-
double
Width
-
height
-
double
Height
-
radius
-
double
Corner radius
-
centered
-
bool
When true, the rectangle is built centered on the origin.
Return Value
CompositeCurve
.NET Framework
Supported in: 4.5, 4.6, 4.7