Currently, only Color implements Interpolatable. Point2D and Point3D are obvious candidates to implement this interface. For example, this would allow to interpolate over a RotateTransition's axis property.
Implementation of the interpolate method should be trivial enough (similar to how Color does it).
Implementation of the interpolate method should be trivial enough (similar to how Color does it).
- csr for
-
JDK-8226753 Point2D and Point3D should implement Interpolatable
- Closed
- relates to
-
JDK-8226911 Interpolatable's contract should be reexamined
- Resolved
-
JDK-8226912 Color, Point2D and Point3D's fields should be made final
- Resolved