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

radial line #52

Open
maryamnegar opened this issue Feb 22, 2018 · 4 comments
Open

radial line #52

maryamnegar opened this issue Feb 22, 2018 · 4 comments
Labels

Comments

@maryamnegar
Copy link

is it possible to connect children to center with radial lines?

@szugyi
Copy link
Owner

szugyi commented Feb 22, 2018

No, there is no feature like this in the library

@maryamnegar
Copy link
Author

tnx, could you please show me some approach to do that ?

@szugyi
Copy link
Owner

szugyi commented Feb 22, 2018

Well, I think the best way to do it would be to override the onDraw method in the CircleLayout, and to draw the line from the center of the view to the child views there, based on the current angle of the children. If you rotate the children you might need to invalidate the whole layout when the angle is updated.

@maryamnegar
Copy link
Author

thank you very much

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