Remove _closed parameter from PathItem#isClockwise() again.

This commit is contained in:
Jürg Lehni 2016-07-27 19:41:23 +02:00
parent 14b2d76450
commit c80c13eb9e
3 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
children: [] children: []
}, },
// Enforce creation of beans, as bean getters have hidden parameters. // Enforce creation of beans, as bean getters have hidden parameters.
// See #getPathData() and #getArea below. // See #getPathData() below.
beans: true, beans: true,
/** /**

View file

@ -296,7 +296,7 @@ var Path = PathItem.extend(/** @lends Path# */{
} }
}, /** @lends Path# */{ }, /** @lends Path# */{
// Enforce creation of beans, as bean getters have hidden parameters. // Enforce creation of beans, as bean getters have hidden parameters.
// See #getPathData() and #getArea below. // See #getPathData() below.
beans: true, beans: true,
getPathData: function(_matrix, _precision) { getPathData: function(_matrix, _precision) {

View file

@ -104,8 +104,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{
* @see Path#getArea() * @see Path#getArea()
* @see CompoundPath#getArea() * @see CompoundPath#getArea()
*/ */
isClockwise: function(_closed) { isClockwise: function() {
return this.getArea(_closed) >= 0; return this.getArea() >= 0;
}, },
setClockwise: function(clockwise) { setClockwise: function(clockwise) {