Make Point2D and Point3D implement Interpolatable

Nir Lisker nlisker at
Thu Jun 20 21:47:56 UTC 2019

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
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

For your consideration,

More information about the openjfx-discuss mailing list