com.mebigfatguy.polycasso
Interface Saver

All Known Implementing Classes:
JavaSaver, PNGSaver, SVGSaver

public interface Saver

describes how the polygon data is to be save to a file in any one of a number of formats


Method Summary
 void save(java.lang.String fileName, java.awt.Dimension imageSize, PolygonData[] data)
          saves the set of polygons to some file
 

Method Detail

save

void save(java.lang.String fileName,
          java.awt.Dimension imageSize,
          PolygonData[] data)
          throws java.io.IOException
saves the set of polygons to some file

Parameters:
fileName - the name of the file to write to
imageSize - the dimension of the image
data - the polygons to draw
Throws:
java.io.IOException - if the file can't be saved


Copyright © 2009-2010 MeBigFatGuy.com. All Rights Reserved.