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

Fillpolygon does not work #46

Closed
BergChristian opened this issue Jan 15, 2021 · 4 comments
Closed

Fillpolygon does not work #46

BergChristian opened this issue Jan 15, 2021 · 4 comments

Comments

@BergChristian
Copy link

Hi!

Created an array of D2Dpoints and try to draw it.

drawpolygon works fine
But fillpolygon causes that nothing is being rendered at all. Does not get an error message.

Any ideas why it happens?

Best
Christian

@BergChristian
Copy link
Author

Hi!

Solved. There are two versions. One which accepts a color and the other which takes a brush. The brush ones works great but the color one does not.

Best
Christian

@jingwood
Copy link
Owner

Thanks! I think it is a bug and I will fix it as soon as possible.

@jingwood
Copy link
Owner

jingwood commented Jan 17, 2021

I have fixed this bug. But since the performance reason the FillPolygon has been marked as obsolete, you can use DrawPolygon instead. 3721a87

@BergChristian
Copy link
Author

Ok! would it be possible to achieve a filled polygon using draw polygon? In my case it is not that many arrows so it does not affect my performance but good to know 👍 .

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