You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add holes with the polygon points, but you need to define the edges of the polygon and the edges of the holes - the constraints edges - and set exterior flag to false
`
let cnt = 0;
for (let i = 0; i < holes.length; i++) {
for (let j = 0; j < holes[i].length; j++) {
pos.push([holes[i][j].x, holes[i][j].y]);
Hi I'm interested in using this lib. Can you please complete the example with holes? Is there an api specifying hole paths?
The text was updated successfully, but these errors were encountered: