Basically, anywhere you think it would be helpful/useful. I am looking
forward to being able to use it in layouts myself (rather than
specifying fixed pixel values). Also, anything that is a size or
position is be a good candidate. For example, it would be cool to be
able to specify the center and radius of a circle with millimeters
rather than pixels. I guess the question to ask yourself is if the api
is expecting a pixel coordinate or value. If the answer is yes, it
should probably be a length instead.
Also, when converting a length back to pixels (which will probably be
the common case), we need to have a standard set of conversion factors
to pass in to the toPixels function. Probably need a new singleton for
this so it can be reused through all the JavaFX APIs, and set once with
the screen dpi and scale factors.
Cheers,
--Steve