On Mon, 17 Aug 2026 18:15:35 GMT, Andy Goryachev <[email protected]> wrote:

>> Michael Strauß has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   review changes
>
> modules/javafx.graphics/src/main/java/javafx/scene/layout/package-info.java 
> line 223:
> 
>> 221:  * <h2>Pixel Snapping</h2>
>> 222:  *
>> 223:  * In JavaFX, layout coordinates use {@code double} values, which means 
>> that a position or size can be fractional.
> 
> I think it's the other way around: JavaFX supports fractional scale (example: 
> 125%) which means the logical coordinates cannot be integers.

You probably mean that if the layout falls on physical pixel boundaries, then 
the logical coordinates might not be integers. That's right, but even more 
fundamentally, just by having coordinates be `double`, I can assign any 
non-integer value.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2260#discussion_r3798918458

Reply via email to