Sign in Join
FPDoc Onlineexperiment

Rectangle procedure

In unit Graph

Draw a rectangle on the screen.

Declaration

pascal
procedure Rectangle(x1: SmallInt; y1: SmallInt; x2: SmallInt; 
 y2: SmallInt)

Description

Draws a rectangle with corners at (X1,Y1) and (X2,Y2), using the current color and style.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.