two.js icon indicating copy to clipboard operation
two.js copied to clipboard

[Enhancement] Add Path.Compound Static Method

Open jonobr1 opened this issue 2 years ago • 0 comments

Describe the feature you'd like Create a static method on Two.Path to be able to combine any number different paths and return a new compound path.

const compound = Two.Path.compound(a, b, c, d);

Functionally the code would project every vertex and concatenate them together into one list of vertices.

Additional context Related to the Boolean Operations issue: https://github.com/jonobr1/two.js/issues/596

jonobr1 avatar Apr 14 '23 05:04 jonobr1