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++)