long start = System.currentTimeMillis();
Ellipse2D ellipse = new Ellipse2D.Double(0, 0, 5000, 5000);
builder.processShape(new PathIteratorWrapper(ellipse.getPathIterator(null)));
//System.out.println("Created shape in: " + (System.currentTimeMillis() - start) + " ms.");
Shape shape = builder.build();
assertTrue("Incorrect no. of Shape Records: " + shape.shapeRecords.size(), shape.shapeRecords.size() == 17); //16 quadratic curves + 1 style change record
//Build valid SWF DefineShape tag
ShapeWithStyle sws = new ShapeWithStyle();
sws.shapeRecords = shape.shapeRecords;