[Polycasso-commit] SF.net SVN: polycasso:[113] trunk/polycasso/src/com/mebigfatguy/polycasso/ Polyg
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-11-29 03:01:35
|
Revision: 113
http://polycasso.svn.sourceforge.net/polycasso/?rev=113&view=rev
Author: dbrosius
Date: 2009-11-29 03:01:29 +0000 (Sun, 29 Nov 2009)
Log Message:
-----------
javadoc
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2009-11-29 02:59:04 UTC (rev 112)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2009-11-29 03:01:29 UTC (rev 113)
@@ -48,18 +48,37 @@
polygon = poly;
}
+ /**
+ * retrieve the polygon (points) of this polygondata
+ *
+ * @return a polygon
+ */
public Polygon getPolygon() {
return polygon;
}
+ /**
+ * sets the transparency of this polygon; 0.0 is transparent, 1.0 is opaque
+ * @param xpar the transparency value
+ */
public void setAlpha(float xpar) {
alpha = xpar;
}
+ /**
+ * retrieves the color of this polygon
+ *
+ * @return the polygon color
+ */
public Color getColor() {
return color;
}
+ /**
+ * sets the color of this polygon
+ *
+ * @param newColor the new color to use
+ */
public void setColor(Color newColor) {
color = newColor;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|