Draws a line, using the foreground color, between the points
(<code>x1</code>, <code>y1</code>) and (<code>x2</code>, <code>y2</code>).
@param x1 the first point's x coordinate
@param y1 the first point's y coordinate
@param x2 the second point's x coordinate
@param y2 the second point's y coordinate
@exception SWTException <ul>
<li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li>
</ul>
Draws a line, using the foreground color, between the points (<code>x1</code>, <code>y1</code>) and (<code>x2</code>, <code>y2</code>).
@param x1 the first point's x coordinate @param y1 the first point's y coordinate @param x2 the second point's x coordinate @param y2 the second point's y coordinate
@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>