Library Apps NextCanvas Shapes Rectangle


This tool creates a rectangle that can have both border and fill. Coordinates of both corners can be adjusted via mouse or within the Object Inspector.

  • X1 and Y1 properties inside the Object Inspector represents the first corner and X2 and Y2 the second.

Example code generated by this tool looks like:

Pen.Color := clRed;
Brush.Color := clYellow;
Rectangle(16, 20, 30, 34);


Sign in