Draws a line on the graphics.
@param x1 X coordinate of the first point of the line, as grid coordinate.
@param y1 Y coordinate of the first point of the line, as grid coordinate.
@param x2 X coordinate of the second point of the line, as grid coordinate.
@param y2 Y coordinate of the second point of the line, as grid coordinate.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.