How to fill outside of a polygon? #63
Answered
by
tocsoft
talhazengin
asked this question in
Q&A
-
I could not do it. |
Beta Was this translation helpful? Give feedback.
Answered by
tocsoft
Jul 1, 2020
Replies: 2 comments 2 replies
-
I did this, but this methodology does not perform well. I need new ideas.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
talhazengin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The process would be to create a rectangle the size of your canvas, then
clip
from that rectangle the polygon you have this will give you a new polygon of the negative space, you then just fill it. this is an example extension method that can do it for you for simple colors.An example of use
Black circle on white background