Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KYPingTransition中的finalPoint计算 #10

Open
LGang opened this issue Jun 8, 2016 · 4 comments
Open

KYPingTransition中的finalPoint计算 #10

LGang opened this issue Jun 8, 2016 · 4 comments

Comments

@LGang
Copy link

LGang commented Jun 8, 2016

这里的触发点指的是什么概念?以及finalPoint指的是什么?不明白这两个概念所以也看不懂计算。

CGFloat radius = sqrt((finalPoint.x * finalPoint.x) + (finalPoint.y * finalPoint.y));
    UIBezierPath *maskFinalBP = [UIBezierPath bezierPathWithOvalInRect:CGRectInset(button.frame, -radius, -radius)];
@KittenYang
Copy link
Owner

@LGang 这里在计算覆盖全屏的最小半径。

@sirSaid
Copy link

sirSaid commented Dec 9, 2023 via email

1 similar comment
@sirSaid
Copy link

sirSaid commented Aug 23, 2024 via email

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

No branches or pull requests

4 participants
@KittenYang @LGang @sirSaid and others