[Polycasso-commit] SF.net SVN: polycasso:[156] trunk/polycasso/src/com/mebigfatguy/polycasso/ Polyg
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-12-07 06:46:52
|
Revision: 156
http://polycasso.svn.sourceforge.net/polycasso/?rev=156&view=rev
Author: dbrosius
Date: 2009-12-07 06:46:44 +0000 (Mon, 07 Dec 2009)
Log Message:
-----------
add getAlpha
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-12-07 05:59:19 UTC (rev 155)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/PolygonData.java 2009-12-07 06:46:44 UTC (rev 156)
@@ -59,7 +59,14 @@
}
/**
- * sets the transparency of this polygon; 0.0 is transparent, 1.0 is opaque
+ * gets the transparency of this polygon: 0.0 is transparent, 1.0 is opaque
+ * @return the transparency value
+ */
+ public float getAlpha() {
+ return alpha;
+ }
+ /**
+ * sets the transparency of this polygon: 0.0 is transparent, 1.0 is opaque
* @param xpar the transparency value
*/
public void setAlpha(float xpar) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|