Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6413733

PIT: RadialGradientPaint with a smaller radius looks weird for NO_CYCLE CycleMethod

XMLWordPrintable

    • 2d
    • b81
    • 6
    • b86
    • generic
    • generic
    • Verified

      I am creating a RadialGradientPaint with a radius of 0.5/1/2 etc and using this RGP to fill a rectangle. I am choosing NO_CYCLE CycleMethod. The output paint is no longer radial and I see a series of colored vertical bands. This appears to be incorrect. For other CycleMethods such as REPEAT and REFLECT, I still see some circles even though the colors with which they are rendered are slightly different.

      This is reproducible on all platforms with b81 2D PIT build.

      I have attached a sample test and the screenshot of the above behavior.

            flar Jim Graham
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: