const circle1 = new Path.Circle({
center: view.center,
radius: 50,
strokeColor: 'orange'
});
const circle2 = circle1.clone().translate(10, 50);
const circle3 = circle1.clone().translate(50, 10);
const subtraction = circle1
.subtract(circle2, { insert: false })
.subtract(circle3, { insert: false });
subtraction.addTo(project.activeLayer);
subtraction.selected = true;
project.activeLayer.fitBounds(view.bounds.scale(0.8));
--
You received this message because you are subscribed to the Google Groups "Paper.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to paperjs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/paperjs/6008ba25-c7a7-4077-a47a-08dc2fbb9141n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/paperjs/CAGhjZpWFtVe5%3DHF5DaJg8EVZXEQw_kfv9q73EctrGHtbEBQK_A%40mail.gmail.com.