0 Replies Latest reply on Jul 31, 2009 11:25 AM by Jason Szeto

    [svn:fx-trunk] 8963: http://bugs.adobe.com/jira/browse/ SDK-22307 - spreadMethod=?\226?\128?\157pad?\226?\128? \157 does not work correctly for LinearGradient on MXML Graphics

    Jason Szeto Level 3

      Revision: 8963

      Author:   jszeto@adobe.com

      Date:     2009-07-31 11:24:40 -0700 (Fri, 31 Jul 2009)


      Log Message:


      http://bugs.adobe.com/jira/browse/SDK-22307 - spreadMethod=?\226?\128?\157pad?\226?\128?\157 does not work correctly for LinearGradient on MXML Graphics


      The actual problem is that LinearGradientStroke is not properly positioning the gradient if no x value is specified. The old behavior always put the gradient at the left edge of the bounds. The proper behavior puts the gradient in the center of the bounds. This matches the behavior of LinearGradient as defined in the FXG spec. There is no need to ?\226?\128?\156center?\226?\128?\157 the y position because it is not possible to adjust the height of a linear gradient.


      QE notes: Add tests for this use case

      Doc notes: None

      Bugs: SDK-22307

      Reviewer: Chet

      Tests run: Spark Primitives

      Is noteworthy for integration: No


      Ticket Links:





      Modified Paths: