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