Skip to content
pixi-silk
GitHub repository
Type

ShapeOp

import type { ShapeOp } from 'pixi-silk';
type ShapeOp = "union" | "subtract" | "intersect" | "exclude";

A shape operation: union merges, subtract cuts the later shapes out of the first, intersect keeps the overlap, and exclude keeps what is covered an odd number of times.