2007-08-01から1ヶ月間の記事一覧

PathIteratorの内容を表示する

PathIterator pi; double[] points = new double[6]; while(!pi.isDone()){ int type = pi.currentSegment(points); switch(type){ case PathIterator.SEG_MOVETO: System.out.printf("move:(%.2f, %.2f)%n", points[0], points[1]); break; case PathIterat…