 
 import flash.display.GradientType;
 import flash.display.Graphics;
-import mx.core.mx_internal;
+import flash.geom.Matrix;
+import flash.geom.Rectangle;
+import mx.skins.RectangularBorder;
 
 /**
  *  The LinearGradientStroke class lets you specify a gradient filled stroke.

    {
        g.lineStyle(weight, 0, 1, pixelHinting, scaleMode,
                    caps, joints, miterLimit);
        
        g.lineGradientStyle(GradientType.LINEAR, mx_internal::colors,
                            mx_internal::alphas, mx_internal::ratios,
                            null /* matrix */, spreadMethod,
                            interpolationMethod);
    }
}

}

     *  <code>LineScaleMode.NONE</code>, <code>LineScaleMode.NORMAL</code>,
     *  and <code>LineScaleMode.VERTICAL</code>.
     *  This parameter is optional,
     *  with a default value of <code>LineScaleMode.NONE</code>. 
     *
     *  @param caps A value from the CapsStyle class
     *  that specifies the type of caps at the end of lines.
