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]]],
  "clipPaths": [[[-10240, -10240], [-10240, 10240], [10240, 10240], [10240, -10240]], [[-5120, -5120], [-5120, 5120], [15360, 5120], [15360, -5120]]],
  "subject": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]]]]],
  "clip": [[[[[-10240, -10240], [-10240, 10240], [10240, 10240], [10240, 5120], [15360, 5120], [15360, -5120], [10240, -5120], [10240, -10240]]]]],
  "union": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]]]]],
  "intersect": [[[[[-10240, -10240], [-10240, 10240], [10240, 10240], [10240, 5120], [15360, 5120], [15360, -5120], [10240, -5120], [10240, -10240]]]]],
  "difference": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]], [[-10240, 10240], [-10240, -10240], [10240, -10240], [10240, -5120], [15360, -5120], [15360, 5120], [10240, 5120], [10240, 10240]]]]],
  "inverseDifference": [[]],
  "xor": [[[[[-20480, -20480], [-20480, 20480], [20480, 20480], [20480, -20480]], [[-10240, 10240], [-10240, -10240], [10240, -10240], [10240, -5120], [15360, -5120], [15360, 5120], [10240, 5120], [10240, 10240]]]]]
}