Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
My question is how do you divide a shape into it's subshapes. For example a shape that looked like an 8 would be subdivided into two ovalish shapes.

I am pretty sure that this is possible as the framework seems to be doing it internally. With PathGeometries there are different behaviors based on the choosing the EvenOdd or NonZero FillRules.

An answer would be great, but even some ideas to try would be appreciated.

Thanks
Ken
Posted

Programmatically, you probably could but can't provide you much of a starting point.

As for in Blend, you can take a shape and convert it to a path. Once you have a path, you can 'Cut' the path into multiple sections and go from there. I hope that helps.
 
Share this answer
 
You could duplicate the shape then give each an opacity mask that covers half the shape. Not sure that's the best way of doing it, but I imagine it would work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900