On Thu, 28 May 2026 21:09:04 GMT, Michael Strauß <[email protected]> wrote:

> Maybe you moved backdrop options to `Stage` because that allows 
> `StageBackdrop` to essentially be an immutable key that identifies a backdrop.

No, it's because the same `StageBackdrop` can be installed on multiple stages.

The problem is partly one of naming. A StageBackdrop object doesn't represent a 
backdrop, it encapsulates the information needed for a stage to build a 
backdrop. That creation info is sharable across stages but each actual backdrop 
is bound to a specific stage. Once a stage's backdrop is built there needs to 
be a separate API for accessing it and changing its dynamic options. I don't 
think it's a good idea to try to make one object serve both purposes.

Let me think about the naming here. Every alternative I can think of seems 
cumbersome and overly pedantic.

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

PR Comment: https://git.openjdk.org/jfx/pull/2048#issuecomment-4597420936

Reply via email to