Library Apps NextCanvas Shapes Line

Line

This tool creates 2-point line. Coordinates of both points can be adjusted via mouse or with the Object Inspector.

  • X1 and Y1 properties inside the Object Inspector represents
the first point and X2 and Y2 the second.
  • Line color can be changed by activating border color selector and then selecting a color.

Example code generated by this tool looks like:

pas
Pen.Color := clRed;
MoveTo(2, 2);
LineTo(16, 16);

Files

Sign in