private void writeObject(final ObjectOutputStream out)
throws IOException
{
out.defaultWriteObject();
final SerializerHelper helper = SerializerHelper.getInstance();
helper.writeObject(scaleValuePaint, out);
helper.writeObject(rangePaint, out);
helper.writeObject(fillPaint, out);
helper.writeObject(outlineStroke, out);
helper.writeObject(defaultShape, out);
helper.writeObject(tickMarkPaint, out);
helper.writeObject(borderPaint, out);
final int size = shapes.size();
out.writeInt(size);
for (int i = 0; i < size; i++)
{
final Shape s = shapes.getShape(i);
helper.writeObject(s, out);
}
}