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

In This Topic
    CreateRectangle(Plane,Double,Double,Boolean) Method
    In This Topic
    Creates a rectangular composite curve by plane.
    Syntax
    'Declaration
     
    Public Overloads Shared Function CreateRectangle( _
       ByVal sketchPlane As Plane, _
       ByVal width As Double, _
       ByVal height As Double, _
       Optional ByVal centered As Boolean _
    ) As CompositeCurve
    public static CompositeCurve CreateRectangle( 
       Plane sketchPlane,
       double width,
       double height,
       bool centered
    )

    Parameters

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