Add Curve#getPart but hide for now as more work is required.

This commit is contained in:
Jürg Lehni 2011-06-05 11:34:24 +01:00
parent b5a0979f58
commit ef10c2797c

View file

@ -221,6 +221,14 @@ var Curve = this.Curve = Base.extend({
return length;
},
/* TODO: Implement this, but convert result to new Curve object again?
getPart: function(from, to) {
var args = this.getCurveValues();
args.push(from, to);
return Curve.getPart.apply(Curve, args);
},
*/
/**
* Checks if this curve is linear, meaning it does not define any curve
* handle.