List of usage examples for java.awt.geom Line2D toString
public String toString()
From source file:org.jfree.chart.demo.Performance.java
/** * Creates lines in a loop.//from w ww . j a v a2 s. c om * * @param count the number of lines to create. */ public void createLines(final int count) { Line2D line = new Line2D.Double(); for (int i = 0; i < count; i++) { line = new Line2D.Double(1.0, 1.0, 1.0, 1.0); } System.out.println(line.toString()); }