CXForm add toString method

Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/7e101d8d
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/7e101d8d
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/7e101d8d

Branch: refs/heads/develop
Commit: 7e101d8de83a1edf18f9cafa9a82d3f9f6d99b25
Parents: e3ade5a
Author: Justin Mclean <[email protected]>
Authored: Fri Jan 3 17:51:18 2014 +1100
Committer: Justin Mclean <[email protected]>
Committed: Fri Jan 3 17:51:18 2014 +1100

----------------------------------------------------------------------
 modules/swfutils/src/java/flash/swf/types/CXFormWithAlpha.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7e101d8d/modules/swfutils/src/java/flash/swf/types/CXFormWithAlpha.java
----------------------------------------------------------------------
diff --git a/modules/swfutils/src/java/flash/swf/types/CXFormWithAlpha.java 
b/modules/swfutils/src/java/flash/swf/types/CXFormWithAlpha.java
index f7b196a..c1fdd43 100644
--- a/modules/swfutils/src/java/flash/swf/types/CXFormWithAlpha.java
+++ b/modules/swfutils/src/java/flash/swf/types/CXFormWithAlpha.java
@@ -57,5 +57,11 @@ public class CXFormWithAlpha extends CXForm
 
         return isEqual;
     }
+    
+    public String toString() 
+    {
+       String base = super.toString();
+       return base + " " + alphaMultTerm + "a" + (alphaAddTerm>=0 ? "+" : "") 
+ alphaAddTerm; 
+    }
 
 }

Reply via email to