flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [29/50] [abbrv] git commit: [flex-asjs] [refs/heads/core_js_to_as] - Remove angle property and its getter/setter. The rotation property should be used to specify the gradient's rotation.
Date Thu, 08 Oct 2015 18:51:31 GMT
Remove angle property and its getter/setter.  The rotation property should be used to specify
the gradient's rotation.


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/892fd753
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/892fd753
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/892fd753

Branch: refs/heads/core_js_to_as
Commit: 892fd753bdf2dec6a2ee62366cf4033da4e1132e
Parents: 031ad2e
Author: OmPrakash Muppirala <bigosmallm@gmail.com>
Authored: Sun Sep 20 01:42:42 2015 -0700
Committer: OmPrakash Muppirala <bigosmallm@gmail.com>
Committed: Sun Sep 20 01:42:42 2015 -0700

----------------------------------------------------------------------
 .../apache/flex/core/graphics/GradientBase.as   | 31 --------------------
 1 file changed, 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/892fd753/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/GradientBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/GradientBase.as
b/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/GradientBase.as
index 69d6ab8..ad23d5a 100644
--- a/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/GradientBase.as
+++ b/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/GradientBase.as
@@ -45,37 +45,6 @@ package org.apache.flex.core.graphics
 		public static const GRADIENT_DIMENSION:Number = 1638.4;
 		
 		/**
-		 *  Storage for the angle property.
-		 */
-		private var _angle:Number;
-		
-		/**
-		 *  By default, the LinearGradientStroke defines a transition
-		 *  from left to right across the control. 
-		 *  Use the <code>angle</code> property to control the transition direction.

-		 *  For example, a value of 180.0 causes the transition
-		 *  to occur from right to left, rather than from left to right.
-		 *
-		 *  @default 0.0
-		 *  
-		 *  @langversion 3.0
-		 *  @playerversion Flash 9
-		 *  @playerversion AIR 1.1
-		 */
-		public function get angle():Number
-		{
-			return _angle / Math.PI * 180;
-		}
-		
-		/**
-		 *  @private
-		 */
-		public function set angle(value:Number):void
-		{
-			_angle = value / 180 * Math.PI;
-		}  
-
-		/**
 		 *  Storage for the entries property.
 		 */
 		private var _entries:Array = [];


Mime
View raw message