src_js/iconolab-bundle/src/components/editor/ShapeFree.vue
changeset 408 159042869b47
parent 342 ebec1d59dc74
child 418 a04c55054afe
--- a/src_js/iconolab-bundle/src/components/editor/ShapeFree.vue	Wed Mar 01 15:29:21 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/ShapeFree.vue	Wed Mar 01 16:39:43 2017 +0100
@@ -1,8 +1,9 @@
 <template>
-    <g>
-        <path ref="path" v-bind:d="path" stroke="#000000" fill="#bdc3c7"
+    <g filter="url(#shadow)">
+        <path ref="path" v-bind:d="path"
+            class="path"
             v-bind:stroke-width="handlerRadius / 2"
-            v-bind:stroke-dasharray="(handlerRadius / 3) + ',' + (handlerRadius / 3)" style="opacity: 0.6;"></path>
+            filter="url(#shadow)"></path>
         <circle ref="handlers"
             v-for="(point, key) in points"
             :key="key"
@@ -192,6 +193,11 @@
     stroke: #000;
     opacity: 0.9;
 }
+.path {
+    stroke: #000;
+    fill: #fff;
+    opacity: 0.6;
+}
 .handler--first {
     fill: yellow;
 }