Make Point2D and Point3D implement Interpolatable

Kevin Rushforth kevin.rushforth at
Tue Jun 25 11:29:57 UTC 2019

This seems like a very reasonable request. I can't see any problems with 
the API or with implementing it. It may or may not make JavaFX 13 given 
where we are in the release, but seems worth pursuing.

-- Kevin

On 6/20/2019 2:47 PM, Nir Lisker wrote:
> Hi Kevin/Johan,
> I'd like to propose that javafx.geometry.Point2D and Point3D implement
> javafx.animation.Interpolatable. Color is the only class that implements it
> currently.
> As a usage example, this would allow to interpolate over the axis property
> of a Rotate or a RotateTransition. In general, interpolating between points
> can have many uses in Timeline.
> The implementation is trivial - the double coordinates (x and y, and z for
> Point3D) are interpolated simultaneously, similar to how Color implements
> it.
> For your consideration,
> Nir

More information about the openjfx-discuss mailing list