RFR: 8332895: Support interpolation for backgrounds and borders [v36]

Michael Strauß mstrauss at openjdk.org
Fri Sep 13 03:44:20 UTC 2024


On Fri, 13 Sep 2024 01:41:24 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

> But the docs specify the interpolation type. Changing it will not be backwards compatible.

The docs only specify the interpolation type, but not the transition type. If users need a discrete transition, they can always use a step easing function. It would be unusual to transition images with a `linear` easing function (seeing as that will as of now not result in a linear transition), so I think the amount of surprise will be limited if, at some point in the future, a `-fx-background-image` transition with a `linear` function will start to smoothly fade between images.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1522#issuecomment-2347974594


More information about the openjfx-dev mailing list