Remove overridden Path#matrix getters and setters, since we now control behavior through #applyMatrix.

This commit is contained in:
Jürg Lehni 2012-12-27 13:04:07 +01:00
parent 4f83e0eee6
commit f45c04a359

View file

@ -235,17 +235,6 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
// path, with the added benefit that b can be < a, and closed looping is
// taken into account.
getMatrix: function() {
// Override matrix getter to always return null, since Paths act as if
// they do not have a matrix, and always directly apply transformations
// to their segment points.
return null;
},
setMatrix: function(matrix) {
// Do nothing for the same reason as above.
},
isEmpty: function() {
return this._segments.length === 0;
},