Retri Posted May 9, 2015 Share Posted May 9, 2015 Lets say I wanted to make a shape that was a square with a circular hole in the middle -- I'd first make the square with drawRect, then make a circle with drawCirc, but how would I combine the two into a compound shape? Is there support for intersect, unite, exclude or subtract? Quote Link to comment Share on other sites More sharing options...
xerver Posted May 13, 2015 Share Posted May 13, 2015 No, there is no support for polygons with holes nor any of the "combine" modes you describe. For more information on how you can simulate holes, please read this: https://github.com/GoodBoyDigital/pixi.js/issues/1755 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.