Skip to content

Conversation

@AnotherJack
Copy link

一次draw只需要回调一次接口就可以了,不需要放在for循环里,放在for循环中其实最终传入的是最右边点的y(顶部到path的距离),直接计算中间点的y坐标,再用view的高度减去它,就得到距离底部的距离了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant