 
     /**
      *  @inheritDoc
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     override public function apply(graphics:Graphics, targetBounds:Rectangle, targetOrigin:Point):void
-	{
-		commonMatrix.identity();
-		
+    {
+        commonMatrix.identity();
+        
         graphics.lineStyle(weight, 0, 1, pixelHinting, scaleMode,
                     caps, joints, miterLimit);
         
         if (targetBounds)
-        	calculateTransformationMatrix(targetBounds, commonMatrix, targetOrigin); 
+            calculateTransformationMatrix(targetBounds, commonMatrix, targetOrigin); 
         
         graphics.lineGradientStyle(GradientType.LINEAR, colors,
                             alphas, ratios,

            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

                ty = targetBounds.top + targetBounds.height / 2;
            else
                ty += targetOrigin.y;
            matrix.translate(tx, ty);   
        }
        else
        {
