Skip to content

listener的y问题#1

Open
AnotherJack wants to merge 1 commit into
1139618418:masterfrom
AnotherJack:master
Open

listener的y问题#1
AnotherJack wants to merge 1 commit into
1139618418:masterfrom
AnotherJack:master

Conversation

@AnotherJack

Copy link
Copy Markdown

一次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