# RECTANG Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [R](Help%20System/GSTARCAD/2022/Commands/R/(R).md) ## Function Description: This command is used to create a rectangular polyine. Users can use this command to specify the rectangular parameters (length, width, and rotated angle) and control corner types (fillet, chamfer or right angle). ## Command Access: > **Icon:** > ![](GCADICO_RECTAN.png) > **Menu:** Draw \> Rectangle > **Ribbon:** Home \> Draw \> Rectangle > **Toolbar:** Draw \> Rectangle > **Command:** RECTANG > **Alias:** REC ## Command Prompts: Specify first corner point or \[Chamfer/Elevation/Fillet/Thickness/Width/Oblique\]: ## **First corner point** Specifies a corner point of the rectangle. - **Other corner point:** Specifies another corner point to create a rectangle. - **Area:** Creates a rectangle by the area and a length or a width. It can create chamfers or fillets on the rectangle by setting the Chamfer or Fillet option. - **Dimensions:** Creates a rectangle by length and width. - **Rotation:** Creates a rectangle at a specified rotation angle. ## **Chamfer** Specifies the chamfer distances for the rectangle. ## **Elevation** Specifies the Z value for the rectangle. The default is 0.0. ## **Fillet** Specifies the fillet radius for the rectangle. ## **Thickness** Specifies the thickness of the rectangle. ## **Width** Specifies the polyline width for the rectangle.