在SVG编辑中对SVG路径进行空且不可点击的填充 [英] Empty and non-clickable filling of SVG paths in SVG-edit
问题描述
我正在修改SVG-edit,它是在线SVG编辑器: https://code.google.com/p/svg-edit/
I am doing a modiciation of SVG-edit which is an online SVG-editor: https://code.google.com/p/svg-edit/
我允许用户仅在填充设置为无"的情况下绘制形状.
I allow my users to draw shapes only with fillings set to "none".
但是,现在我想要当用户绘制这些形状时,允许它们将鼠标悬停在这些形状上并显示一些有关它们的信息.当这些形状位于"其他形状之后时,尽管由于填充设置为空而不显示其他形状,但它们却无法单击,因为顶部形状的填充实际上在那里,但是它是不可战胜的.
However now i want when my users draw these shapes, to allow them to hover over the shapes and display some information about them. When the shapes are "behind" some other shapes, althought they are visible because the filling is set to none, they are unclickable because the filling of the top shape is practically there but its just invinsible.
除了视觉上透明之外,有没有办法使形状填充点击透明"?
Is there any way of making the shapes filling "click-transparent" apart from only visually transparent?
推荐答案
通过 查看全文