如何为SVG编辑器创建橡皮擦 [英] How to create eraser for SVG Editor

查看:503
本文介绍了如何为SVG编辑器创建橡皮擦的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为svg编辑器创建橡皮擦代码

解决方案

请参阅我对该问题的评论。



对于矢量编辑器,橡皮擦不是一个正确的想法(除非你有一些原创和复杂的概念,足以矢量绘图,一种比喻)。这就是编辑器通常的工作方式:您可以选择任何元素或一组元素。选择应通过特殊选择标记显示。然后,某些菜单或编辑栏应该显示(启用)一些删除选项的删除项目。



-SA

How to create eraser code for svg editor

解决方案

Please see my comment to the question.

For vector editors, "eraser" is not a right idea (unless you have some original and sophisticated concept which would be adequate to vector drawing, a kind of metaphor). This is how the editors normally work: you can select any element or a group of elements. The selection should be shown by special selection marks. Then, some menu or edit bar should show (enable) some "Delete" item which deletes the selection.

—SA


这篇关于如何为SVG编辑器创建橡皮擦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆