Comments (4)
都不喜欢那条线呀 。。好的 明天解决
from wxdraw.
首先感谢作者
不是不喜欢,主要是和官方的 api行为不一样
多余的这条线,需要完全可以让用户自己去加的啦
另外想问问 ,你怎么做到控制层级的呢,官方的api中好像没看到有控制层级的
from wxdraw.
已经改了 添加一个 closePath 选项 默认为 false 也就不会添加那条线了
设置为 true 就会添加那条线。
图层这个是我自己设计出来的,canvas 本来就没有图层这个概念,需要用代码来实现
from wxdraw.
@bobiscool 感谢你及时的回复
建议 :把 canvasContext暴露出来,canvas转图片是一个很常用的业务场景
from wxdraw.
Related Issues (20)
- 用wxdraw开发小程序游戏遇到了问题,望解答
- disable-scroll=true 导致无法加载 HOT 2
- 图形的destroy方法,在setimeout中且计时大于1000时无效
- 栈溢出 HOT 1
- 图案无法拖拽
- 矩形边框怎么实现匀速蚂蚁线效果
- globalCompositeOperation在真机上无效
- 动画不能第二次调用的 HOT 1
- requestAnimationFrame 支持了吗 HOT 1
- mpvue 框架里 引用 new wxDraw 报错 HOT 2
- 在mix混合绘制下,我想给绘制的图片加一个边框,怎么利用updateOption加不上去
- 文字粗细,字体不能设置么? HOT 1
- H5中可以使用吗? HOT 1
- jsEnginScriptError Converting circular structure to JSON TypeError: Converting circular structure to JSON HOT 5
- updateOption更新线条颜色跟线条段落(增加或者减少线条) HOT 1
- 可以用这个做一个热力图吗
- 项目没有更新了吗?
- 按照说明引入了mxdraw.min.js初始化后提示这些 HOT 3
- 官网进不去?还是需要科学上网? HOT 4
- 如何画一个圆行的图片 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wxdraw.