On Thu, 20 Aug 2026 13:18:00 GMT, Marius Hanl <[email protected]> wrote:

> One last question from my side: There is also this weird method which is only 
> used once: `snapPortionX/Y` (only used in `HBox` / `VBox`). Is this something 
> we need, or will this be eventually cleaned up?

This one rounds the value towards zero: 2.6 rounds to 2, and -2.6 rounds to -2. 
It is marginally useful for HBox/VBox for coordinated growing or shrinking. 
Whether it should live on Region... doubtful.

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

PR Comment: https://git.openjdk.org/jfx/pull/2260#issuecomment-5357212186

Reply via email to