brush-box
v0.1.0
Published
canvas实现类似QQ截图的效果
Downloads
5
Readme
canvas实现类似QQ截图的效果
已完成功能:
- [x] 选择画笔粗细
- [x] 选择画笔颜色
- [x] 画实线方框
- [x] 画圆形
- [x] 画箭头
- [x] 画直线
- [x] 画虚线方框
- [x] 橡皮擦
- [x] 撤销
- [x] 生成图片
尚待优化功能:
- [ ] 文本框
- [ ] 性能优化
- [ ] UI美化
直接上图:
以下是我用第三方截的效果图:
以下是本项目的生成的base64效果图:
感兴趣的同学可以下载下来涂鸦,欢迎指教。
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint