Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Region Class / CreateRoundedRectangle Method / CreateRoundedRectangle(Plane,Double,Double,Double,Boolean) Method
Sketch plane
Width
Height
Corner radius
When true, the rectangle is built centered on the origin.

In This Topic
    CreateRoundedRectangle(Plane,Double,Double,Double,Boolean) Method
    In This Topic
    Creates a rounded rectangular region by plane.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateRoundedRectangle( _
       ByVal sketchPlane As Plane, _
       ByVal width As Double, _
       ByVal height As Double, _
       ByVal radius As Double, _
       Optional ByVal centered As Boolean _
    ) As Region
    public static Region CreateRoundedRectangle( 
       Plane sketchPlane,
       double width,
       double height,
       double radius,
       bool centered
    )

    Parameters

    sketchPlane
    Sketch plane
    width
    Width
    height
    Height
    radius
    Corner radius
    centered
    When true, the rectangle is built centered on the origin.
    See Also