Line |
The method draws a straight line from the point(x1,y1)
to the point(x2,y2).
The format is Line(x1,y1)-(x2,y2),color
Example:
Line(0,0)-Line(1000,2000),VbRed will draw a red straight
line joining the point (0,0) and (1000,2000)
It can also be used to draw a rectangle using the
following format
The format is Line(x1,y1)-(x2,y2),color,B |