[Polycasso-commit] SF.net SVN: polycasso:[168] trunk/polycasso/src/com/mebigfatguy/polycasso/ PNGSa
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-10 04:10:05
|
Revision: 168
http://polycasso.svn.sourceforge.net/polycasso/?rev=168&view=rev
Author: dbrosius
Date: 2009-12-10 04:09:58 +0000 (Thu, 10 Dec 2009)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java 2009-12-10 04:08:45 UTC (rev 167)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PNGSaver.java 2009-12-10 04:09:58 UTC (rev 168)
@@ -30,8 +30,18 @@
import org.apache.commons.io.IOUtils;
+/**
+ * generates a png file from the set of polygons
+ */
public class PNGSaver implements Saver {
+ /**
+ * saves the set of polygons in a png file
+ *
+ * @param fileName the name of the file to write to
+ * @param imageSize the dimension of the image
+ * @param data the polygons to draw
+ */
@Override
public void save(String fileName, Dimension imageSize, PolygonData[] data)
throws IOException {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|