i_overlay 6.0.0

Boolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon varieties.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
{
  "fillRule": 1,
  "subjPaths": [[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]], [[-10240, -10240], [-10240, 0], [0, 0], [0, -10240]], [[0, 0], [0, 10240], [10240, 10240], [10240, 0]]],
  "clipPaths": [[[-5120, -5120], [-5120, 5120], [5120, 5120], [5120, -5120]]],
  "subject": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]]]]],
  "clip": [[[[[-5120, -5120], [-5120, 5120], [5120, 5120], [5120, -5120]]]]],
  "union": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]]]]],
  "intersect": [[[[[-5120, -5120], [-5120, 5120], [5120, 5120], [5120, -5120]]]]],
  "difference": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]], [[-5120, -5120], [5120, -5120], [5120, 5120], [-5120, 5120]]]]],
  "inverseDifference": [[]],
  "xor": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]], [[-5120, -5120], [5120, -5120], [5120, 5120], [-5120, 5120]]]]]
}