mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Add PathStyle#clone().
This commit is contained in:
parent
ab9cce137c
commit
cc0f4a3f7e
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ var PathStyle = this.PathStyle = Base.extend(new function() {
|
|||
}
|
||||
},
|
||||
|
||||
clone: function() {
|
||||
return new PathStyle(this);
|
||||
},
|
||||
|
||||
statics: {
|
||||
create: function(item, other) {
|
||||
var style = new PathStyle(PathStyle.dont);
|
||||
|
|
Loading…
Reference in a new issue