Draw A Line In Java - Web for example, to draw a line, an application calls the following: Web public void drawline(int x1, int y1, int x2, int y2) the method call g.drawline (x1, y1, x2, y2) draws a line from the point. The line2d class represents a line segment in (x, y) coordinate space.
Web for example, to draw a line, an application calls the following: The line2d class represents a line segment in (x, y) coordinate space. Web public void drawline(int x1, int y1, int x2, int y2) the method call g.drawline (x1, y1, x2, y2) draws a line from the point.