Add PathStyle#clone().

This commit is contained in:
Jürg Lehni 2011-05-05 00:01:17 +01:00
parent ab9cce137c
commit cc0f4a3f7e

View file

@ -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);