Enforce creation of Curve#values getter despite hidden parameter.

This commit is contained in:
Jürg Lehni 2017-02-12 12:15:59 +01:00
parent 286765f4b0
commit 45f5bf84e8

View file

@ -26,6 +26,9 @@
*/
var Curve = Base.extend(/** @lends Curve# */{
_class: 'Curve',
// Enforce creation of beans, as some bean getters have hidden parameters.
// See #getValues() below.
beans: true,
/**
* Creates a new curve object.
@ -381,8 +384,8 @@ var Curve = Base.extend(/** @lends Curve# */{
for (var i = 0; i < 8; i += 2)
points.push(new Point(coords[i], coords[i + 1]));
return points;
},
}
}, /** @lends Curve# */{
/**
* The approximated length of the curve.
*