Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

给边加锚点 #118

Open
papibabi opened this issue May 14, 2019 · 1 comment
Open

给边加锚点 #118

papibabi opened this issue May 14, 2019 · 1 comment

Comments

@papibabi
Copy link

怎么给边设置锚点,使其可以拖拽并调整边的路径

@guozhaolong
Copy link

我的思路是,首先边的controlPoints用来存储一条边所有的锚点的xy,然后当你需要做的就是点击边可以创建锚点并可以拖动,锚点可以用addShape('marker')来增加吧,具体拖动计算锚点位置应该有相关代码

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants