/* Defines the line class' variables and tells the program the syntax that is going to be used to draw a line */ public class Line { double sx; double sy; double ex; double ey; double val; double emag; double ang; public Line(double start_x, double start_y, double end_x, double end_y) { sx = start_x; sy = start_y; ex = end_x; ey = end_y; } }