Git Product home page Git Product logo

Comments (4)

bobiscool avatar bobiscool commented on May 19, 2024

都不喜欢那条线呀 。。好的 明天解决

from wxdraw.

xcchcaptain avatar xcchcaptain commented on May 19, 2024

首先感谢作者
不是不喜欢,主要是和官方的 api行为不一样
多余的这条线,需要完全可以让用户自己去加的啦
另外想问问 ,你怎么做到控制层级的呢,官方的api中好像没看到有控制层级的

from wxdraw.

bobiscool avatar bobiscool commented on May 19, 2024

已经改了 添加一个 closePath 选项 默认为 false 也就不会添加那条线了
设置为 true 就会添加那条线。

图层这个是我自己设计出来的,canvas 本来就没有图层这个概念,需要用代码来实现

from wxdraw.

xcchcaptain avatar xcchcaptain commented on May 19, 2024

@bobiscool 感谢你及时的回复
建议 :把 canvasContext暴露出来,canvas转图片是一个很常用的业务场景

from wxdraw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.