About the area filling problem formed by multiple Geometry elements #1830
Replies: 1 comment
-
I think you are better of asking this on the WinUI GitHub repository: https://github.com/microsoft/microsoft-ui-xaml as this repository is only for the WinUI Gallery 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This may involve computer graphics.
I plan to implement the paint feature based on WinUI3. I've made all sorts of lines on the Canvas with PathGeometry, and now I want to be able to click on a location to fill an enclosed area, but I don't know how to find an enclosed area where the click is located and fill it as PathGeometry data in a Path UIElement that is made up of PathGeometry data.
Is there some way to calculate that the de-area should be populated and can be populated as PathGeometry's data?
Here's some of the code for drawing and rendering lines:
Beta Was this translation helpful? Give feedback.
All reactions