mirror of https://github.com/luileito/jsketch.git
Added stroke serialization
This commit is contained in:
parent
8424e2c47a
commit
ca31558047
|
|
@ -248,6 +248,7 @@
|
|||
*/
|
||||
stroke: function() {
|
||||
this.context.stroke();
|
||||
this.callStack.push({ method: 'stroke', args: [] });
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -187,6 +187,10 @@
|
|||
return '';
|
||||
},
|
||||
};
|
||||
/**
|
||||
* Alias of `closePath()`;
|
||||
*/
|
||||
methods.stroke = methods.closePath;
|
||||
|
||||
function build() {
|
||||
var svg = '<?xml version="1.0" encoding="utf-8" standalone="no" ?>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue