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

RFE: Linear/RadialGradientPaint should have smooth gradient on REPEAT boundary

    XMLWordPrintable

Details

    • 2d
    • Fix Understood
    • generic
    • generic

    Description

      If I choose the REPEAT CycleMethod for Linear and Radial GradientPaints, the pixels outside the end point abruptly changes to the starting color and there is no fading effect between the pixels present within the boundary and outside the boundary.

      I have tried enabling the COLOR_RENDERING and RENDERING rendering hints with VALUE_RENDER_QUALITY but this rendering hint is not honored by the current implementation. Also the line that marks the end of LinearGradient/RadialGradient Boundary shows a 'jagged' appearance and it is not smooth.

      It would be good to have a smooth gradient on the boundary for REPEAT cycle method instead of changing the color abruptly.

      I have attached a sample test and a screenshot to demonstrate this behavior.

      Attachments

        Activity

          People

            prr Philip Race
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Imported:
              Indexed: