Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Region Class / CreateRoundedRectangle Method / CreateRoundedRectangle(Double,Double,Double,Double,Double,Double,Boolean) Method
Position along the plane X axis
Position along the plane Y axis
Width
Height
Corner radius
Rotation angle in radians
When true, the rectangle is built centered on the origin.

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

    Parameters

    x
    Position along the plane X axis
    y
    Position along the plane Y axis
    width
    Width
    height
    Height
    radius
    Corner radius
    angle
    Rotation angle in radians
    centered
    When true, the rectangle is built centered on the origin.
    See Also