Adds a required line segment.
@param x1 X coordinate of end 1
@param y1 Y coordinate of end 1
@param x2 X coordinate of end 2
@param y2 Y coordinate of end 2
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.