             {
                 // Figure out the two sides
                 if (rotation % 90 != 0)
-                {			
+                {           
                     // Normalize angles with absolute value > 360 
                     var normalizedAngle:Number = rotation % 360;
                     // Normalize negative angles

            matrix.scale(1 / GRADIENT_DIMENSION, 1 / GRADIENT_DIMENSION);
            matrix.concat(compoundTransform.matrix);
            matrix.translate(targetOrigin.x, targetOrigin.y);
        }			 	
    }
    
}

            if (!isNaN(tx) && !isNaN(ty))
                matrix.translate(GRADIENT_DIMENSION / 2, GRADIENT_DIMENSION / 2); // 1638.4 / 2
            
            // Force the length to a absolute minimum of 2. Values of 0, 1, or -1 have undesired behavior   
            if (length >= 0 && length < 2)
                length = 2;
            else if (length < 0 && length > -2)
                length = -2;
            
            // Scale the gradient in the x direction. The natural size is 1638.4px. No need
            // to scale the y direction because it is infinite
