changeset 3793:8df94ef84244

Added getters to SplineInterpolator internal class to be able to get data
author "Jasper Potts"
date Mon, 03 Jun 2013 14:04:31 -0700
parents 978d51d9d208
children ebe36f2349d1
files javafx-anim/src/com/sun/scenario/animation/SplineInterpolator.java
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-anim/src/com/sun/scenario/animation/SplineInterpolator.java	Mon Jun 03 12:13:24 2013 -0700
+++ b/javafx-anim/src/com/sun/scenario/animation/SplineInterpolator.java	Mon Jun 03 14:04:31 2013 -0700
@@ -116,6 +116,22 @@
         }
     }
 
+    public double getX1() {
+        return x1;
+    }
+
+    public double getY1() {
+        return y1;
+    }
+
+    public double getX2() {
+        return x2;
+    }
+
+    public double getY2() {
+        return y2;
+    }
+
     /**
      * Returns the y-value of the cubic bezier curve that corresponds to the x
      * input.