Icon Rect Method

procedure Rect(X,Y: Double; Width, Height: Double)

Available In: Visual Client Applications

Use this method to add a rectangle to the current path of the canvas. The added rectangle has its own subpath that is not connected to any other subpaths in the current path. After this method is called, the current point on the canvas is set to the point specified by the first two parameters.
Image