Type Alias: KernelOverlayShape
KernelOverlayShape = {
height:number;kind:"rect";width:number;x:number;y:number; } | {cx:number;cy:number;kind:"circle";r:number; } | {cx:number;cy:number;kind:"ellipse";rx:number;ry:number; } | {kind:"polygon";points:ReadonlyArray<readonly [number,number]>; }
Defined in: packages/plugin-sdk/src/kernel/authoring.ts:51
Hit shape in overlay-local CSS pixels (rev4 §A4). native overlays render
these as SVG clip primitives (browser hit-testing follows the shapes);
proxy overlays point-test them before forwarding packets. Absent shapes
mean the whole rect is interactive. Caps: limits.overlays.maxShapes,
maxPolygonPoints, maxGeometryBytes.