diff options
Diffstat (limited to 'src/default.js')
-rw-r--r-- | src/default.js | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/src/default.js b/src/default.js index fd85228..113e283 100644 --- a/src/default.js +++ b/src/default.js @@ -6,28 +6,30 @@ SVG.defaults = { // Default attribute values , attrs: { /* fill and stroke */ - 'fill-opacity': 1 - , 'stroke-opacity': 1 - , 'stroke-width': 0 - , fill: '#000' - , stroke: '#000' - , opacity: 1 + 'fill-opacity': 1 + , 'stroke-opacity': 1 + , 'stroke-width': 0 + , 'stroke-linejoin': 'miter' + , 'stroke-linecap': 'butt' + , fill: '#000' + , stroke: '#000' + , opacity: 1 /* position */ - , x: 0 - , y: 0 - , cx: 0 - , cy: 0 + , x: 0 + , y: 0 + , cx: 0 + , cy: 0 /* size */ - , width: 0 - , height: 0 + , width: 0 + , height: 0 /* radius */ - , r: 0 - , rx: 0 - , ry: 0 + , r: 0 + , rx: 0 + , ry: 0 /* gradient */ - , offset: 0 - , 'stop-opacity': 1 - , 'stop-color': '#000' + , offset: 0 + , 'stop-opacity': 1 + , 'stop-color': '#000' } // Default transformation values |