@pbroom/color-kit/planeOperations

PlaneBooleanOptions

Options for the raster-based region booleans (unionRegions, intersectRegions, differenceRegions).

interfaceimport type { PlaneBooleanOptions } from '@pbroom/color-kit/plane';operations.ts:14
interface PlaneBooleanOptions {
  resolution?: number;
}

Properties

resolution?numberdefault 96
Grid cells per axis used to rasterize both regions. Clamped to [16, 256]. Result edges can deviate from the exact boundary by up to about one cell (combined bounding-box span / resolution); higher values improve fidelity at quadratic compute cost.

Also exported from