mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Remove overridden Path#matrix getters and setters, since we now control behavior through #applyMatrix.
This commit is contained in:
parent
4f83e0eee6
commit
f45c04a359
1 changed files with 0 additions and 11 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue