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

[Enhancement] fill/stroke color for each point on Two.Points #553

Open
joex92 opened this issue Aug 31, 2021 · 1 comment
Open

[Enhancement] fill/stroke color for each point on Two.Points #553

joex92 opened this issue Aug 31, 2021 · 1 comment

Comments

@joex92
Copy link

joex92 commented Aug 31, 2021

Hi,
I like a lot the Two.Points object, but it works practically the same as Two.Path with "unconnected" vertices, at least in the final product.
So I believe that on a Two.Points object, each vertices could have its own fill and stroke color set... I mean, at least that's what I'm looking for to be able to do...
This way a Two.Point object would be needed, which could be a Two.Vector with color properties... ish? idk...

@joex92 joex92 changed the title [Enhancement] fill/stroke color for each point on a Two.Points [Enhancement] fill/stroke color for each point on Two.Points Aug 31, 2021
@jonobr1
Copy link
Owner

jonobr1 commented Sep 3, 2021

Yeah, this is a good point and we should add this in the future. At this point in time though you'll have to make different Two.Points objects for each set of colors you want to use.

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

No branches or pull requests

2 participants