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

When I use getSequentialPathAnimator (), draw a lot of extra lines #28

Closed
MartinHY opened this issue Sep 1, 2016 · 9 comments
Closed
Assignees
Labels

Comments

@MartinHY
Copy link

MartinHY commented Sep 1, 2016

image
Like the one shown above ,When I use the code below, it happens.

     pathView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
//                pathView.getPathAnimator().
                pathView.getSequentialPathAnimator().
                        delay(100).
                        duration(5000).
                        interpolator(new AccelerateDecelerateInterpolator()).
                        start();
@MartinHY MartinHY changed the title when i try getSequentialPathAnimator,it· When I use getSequentialPathAnimator (), draw a lot of extra lines Sep 1, 2016
@geftimov
Copy link
Owner

geftimov commented Sep 1, 2016

This looks like a bug.
Can I have the svg?

@geftimov geftimov self-assigned this Sep 1, 2016
@geftimov geftimov added the bug label Sep 1, 2016
@MartinHY
Copy link
Author

MartinHY commented Sep 2, 2016

@geftimov
Copy link
Owner

geftimov commented Sep 2, 2016

Ok thanks will see what can I do.

@MartinHY
Copy link
Author

MartinHY commented Sep 2, 2016

thx

@MartinHY
Copy link
Author

MartinHY commented Sep 6, 2016

OMG, I know why is the result of this, because when I read your code and modify your code in SvgUtils:
image

very sorry
╥﹏╥...

@geftimov
Copy link
Owner

geftimov commented Sep 6, 2016

So you mean this is probably the fix for the bug?

@MartinHY
Copy link
Author

MartinHY commented Sep 6, 2016

yes, in your code it`s prove to be true.

i`m so sorry,i should not to modify it.

@MartinHY
Copy link
Author

MartinHY commented Sep 8, 2016

I removed the parallel animation and modified the fill animation .Now the animation is like that:
woman
My link : https://github.com/MartinBZDQSM/PathDraw

@geftimov
Copy link
Owner

geftimov commented Sep 8, 2016

I go through the library and the blog.
I am really impressed, nice job.

@geftimov geftimov closed this as completed Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants