procedure LineTo(X, Y: Integer); override;
virtual void __fastcall LineTo(int X, int Y);
Draws a line on the canvas from PenPos to the point specified by X and Y, and sets the pen position to (X, Y).
The line is drawn using Pen.
Note: If the current Pen does not have a style of psSolid, the line is drawn with a background specified by the current brush.